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
Getting error from gradle when run on android #23
Comments
Hi, there's two considerations on Android. First you need to create a file called
This might be automatically resolved for you in VS Code or Android Studio, but it may have not been able to auto-detect the android/flutter SDK. Second is, that builds require the keystore information in android/key.properties. I removed this dependency in a129144 Hopefully you can build it now |
I have this error but it seems like I cannot test with android emulator since it is a x86 architecture emulator. It is a must to deploy this project on arm? |
Hi, the build.gradle only specifies arm and arm64 targets because of flutter/flutter#18494 I meant to add x86 before we release to the play store, but haven't done it yet. I'll add x86 later today. |
Hi, I added x86 and x64 targets. You can build for one of these with:
or
I'm not sure if it's possible to make production builds with an x86 or x64, but it should work well enough for the emulator. |
Thanks you for your hard work ward. I will just close the issue. Everything is working fine now. |
First of all, thanks for sharing such nice flutter project with us.
I have a problem to run this project on android. Every was fine on iOS.
The error is shown as below.
ProcessException: Process "/Users/mac/shopping/natrium_wallet_flutter/android/gradlew" exited abnormally:
FAILURE: Build failed with an exception.
Where:
Build file '/Users/mac/shopping/natrium_wallet_flutter/android/app/build.gradle' line: 65
What went wrong:
A problem occurred evaluating project ':app'.
Try:
Run with --stacktrace option to get the stack trace. Run with --info or --debug option to get more log output. Run with --scan to get full insights.
Get more help at https://help.gradle.org
BUILD FAILED in 0s
Command: /Users/mac/shopping/natrium_wallet_flutter/android/gradlew app:properties
Please review your Gradle project setup in the android/ folder.
Besides that, I still found this 'Cannot resolve symbol GradleException' in Android studio like the picture below.
Looking for help with this. thx
The text was updated successfully, but these errors were encountered: