Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Gradle build error when plug-in is included #14

Closed
tx350z opened this issue Apr 5, 2020 · 2 comments
Closed

Gradle build error when plug-in is included #14

tx350z opened this issue Apr 5, 2020 · 2 comments

Comments

@tx350z
Copy link

tx350z commented Apr 5, 2020

Followed instructions for adding android-pgs-plugin to the project, rebuilt android custom build template, attempted to android export (tried debug and release) and received gradle build error.
I have no other plug-ins in the but tried removing the two lines from the plug-in AndroidManifest.xml. Received the same build error.

Sorry the gradle output window does not allow copying so I've included a image capture.

GradleBuildError

@cgisca
Copy link
Owner

cgisca commented Apr 5, 2020

@tx350z from the error you get, you need to add next lines
android.useAndroidX=true
android.enableJetifier=true
to the gradle.properties file, that you can find inside android folder of your project: ../android/build/gradle.properties

@tx350z
Copy link
Author

tx350z commented Apr 7, 2020

Thank you, that solved the build error. Could you add something to the README mentioning this? I'm not seeing much info about migrating to AndrdoidX.

@tx350z tx350z closed this as completed Apr 7, 2020
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants