- FAD MIM
- PowerServer 2020 or older (Obsolete)
- Monday, 4 April 2022 01:30 PM UTC
Hello;
My name is Simon,
I help my client for a application APPEON mobile
Register the app developed by APPEON in the Google Play Store.
In the past, it was possible to register as an APK file, but now it is possible to register as an aab package.
It is made.
When creating an aab package in Android Studio, the following error occurs
[aab creation method and error]
in android studio
An error occurs when generating aab by selecting Android App Bundle from the Build >> Generate Signed Bundle / APK menu.
Execution failed for task ':packageReleaseBundle'.
> A failure occurred while executing com.android.build.gradle.internal.tasks.Workers$ActionFacade
> File 'root/classes2.dex' uses reserved file or directory name 'classes2.dex'.
---->>as requested
I added in build.gradle:
android {
packagingOptions {
exclude 'classes2.dex'
}
}
1) No problem when generating package aab in in android studio -> Signed Bundle/APK menu
2) When I test the application locally or in play console (Google), error application and the application closes automatically.
NB: The application works with the .apk package and without adding the code: exclude 'classes2.dex'
NB: APPEON SERVER Version : Appeon® PowerServer® 2020 (on net)
Thank you very much APPEON!!
Simon
Find Questions by Tag
Helpful?
If a reply or comment is helpful for you, please don’t hesitate to click the Helpful button. This action is further confirmation of their invaluable contribution to the Appeon Community.