-
-
Save windy1/89dc03f2a13d3b37d0cd to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
apply plugin: 'com.android.application' | |
android { | |
compileSdkVersion 20 | |
buildToolsVersion "20.0.0" | |
defaultConfig { | |
applicationId "com.example.dalvir.find" | |
minSdkVersion 15 | |
targetSdkVersion 20 | |
versionCode 1 | |
versionName "1.0" | |
} | |
buildTypes { | |
release { | |
minifyEnabled false | |
proguardFiles getDefaultProguardFile('proguard-android.txt'), 'proguard-rules.pro' | |
} | |
} | |
} | |
repositories { | |
mavenCentral() | |
} | |
dependencies { | |
compile fileTree(include: ['*.jar'], dir: 'libs') | |
compile 'se.walkercrou:google-places-api-java:2.1.2' | |
compile 'org.apache.httpcomponents:httpclient-android:4.3.5.1' | |
} |
It says what to do right in the error...
https://gist.github.com/rohandalvi/1794af8547fa7367abf8#file-erro-L32
You can ignore those files in your build.gradle:
android {
packagingOptions {
exclude 'LICENSE.txt'
}
}
Switching over to mac from windows and created a new project in android studio.
I have the gradle file updated.
https://gist.github.com/rohandalvi/fac326fa326b588442ad
But still keep getting error:
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Led to further errors while building: https://gist.github.com/rohandalvi/1794af8547fa7367abf8