5 comments found.
Hi it s also works with Android Studio?
I cannot get the sign in and leader board functionalities to work
I removed the /android/build.gradle and remove line: proguardFiles ‘proguard-project.txt’ , but I noticed in the build.gradle (android), there is a part that reads: ” buildTypes { release { minifyEnabled true proguardFiles ‘proguard-project.txt’ }”
Then when generating APK I get a ” Error:Execution failed for task ’:android:proguardRelease’. > java.io.FileNotFoundException: C:\Arithmetic\android\proguard-project.txt (The system cannot find the file specified)” error
How do I properly remove that proguard portion from the android gradle file? I think that’s the one part that’s creating the error when I generate the APK. Thanks
just remove line – proguardFiles ‘proguard-project.txt’ – from build.gradle file
Ok so on the code, it reads as:
buildTypes {
release {
minifyEnabled true
proguardFiles 'proguard-project.txt'
}
I removed the ‘proguard-project.txt’ but I still get errors? Did anyone else have this issue? Just think I’m doing it wrong. Any help is appreciated, thanks
As default there are no such problem with the proguard and the project can be compiled. But of course you can do not use it. Try to clean the project and synchronize it before rebuild.
I get this error when generating APK.
Warning:[options] bootstrap class path not set in conjunction with -source 1.6
Screenshot: https://www.dropbox.com/s/kr2dz3x9frew6nv/arithmeticscreenshot.jpg?dl=0What could be causing this? I’m a bit of a newbie to Android Studio. Thanks!
It’s a warning, not an error. It doesn’t matter, APK will be generated anyway
App crashes when previewing on my phone. I get this error from Google Developer Console crash report, what causes this issue?
java.lang.IllegalStateException: A fatal developer error has occurred. Check the logs for further information. at com.google.android.gms.common.internal.j.a(Unknown Source) at com.google.android.gms.common.internal.l.b(Unknown Source) at com.google.android.gms.common.internal.k.handleMessage(Unknown Source) at android.os.Handler.dispatchMessage(Handler.java:102) at android.os.Looper.loop(Looper.java:135) at android.app.ActivityThread.main(ActivityThread.java:5437) at java.lang.reflect.Method.invoke(Native Method) at java.lang.reflect.Method.invoke(Method.java:372) at com.android.internal.os.ZygoteInit$MethodAndArgsCaller.run(ZygoteInit.java:904) at com.android.internal.os.ZygoteInit.main(ZygoteInit.java:699)
Try don’t use proguard, maybe some classes were removed during generation of the APK
Ooh gotcha. I’m sorry to disturb, it’s just i’m a newbie to Android studio… How does one remove proguard (properly) from Android studio ?
find file /android/build.gradle and remove line: proguardFiles ‘proguard-project.txt’