FAQ
We get this build exception Error:Failed to resolve: ly.img.android:authorization:6.0.0+
Unfortunately, this is a bug in gradle and java
- You have to trust both certificates with this command line commands
wget https://raw.githubusercontent.com/escline/InstallCert/master/InstallCert.java javac InstallCert.java java InstallCert artifactory.img.ly
- Navigate in the Console to your project folder and clear the gradle cache.
# On Mac & Linux ./gradlew cleanBuildCache # On Windows gradlew cleanBuildCache
- Do a rebuild in Android Studio (Do it twice if the first build fails)
I just use the editor, why does the app request permission to use the camera?
If this happen in v6 and above you have to remote the camera module in your gradle config
The App crashes with a “Permission Exception”
Please make sure that you delegate onRequestPermissionsResult
to
PermissionRequest.onRequestPermissionsResult
:
@Override
public void onRequestPermissionsResult(int requestCode, @NonNull String[] permissions, @NonNull int[] grantResults) {
PermissionRequest.onRequestPermissionsResult(requestCode, permissions, grantResults);
super.onRequestPermissionsResult(requestCode, permissions, grantResults);
}
App crashed on Android 6.0
This is probably happening due to a Permission Exception
as explained above.