-
Notifications
You must be signed in to change notification settings - Fork 49
Critical: Can't build with apk with Adjust #18
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
Comments
Hi @CedYF Thanks for reporting this. Can you reproduce this issue on new empty Flutter app and send it over? |
I'll see if I can try this tomorrow. Right now it's just when I run flutter build apk. I'm trying the usual restarting, flutter clean, upgrades etc... |
👍 I see. Still if you manage to reproduce this in dummy example app, would be great if we can get it. |
Running into this issue too, is there a fix yet? |
Hey guys, Any update in here? Did you manage to get this solved? Also in case not, is it still the case with latest SDK version? Cheers |
I updated to FAILURE: Build failed with an exception.
* What went wrong:
Could not determine the dependencies of task ':compileReleaseAidl'.
> SDK location not found. Define location with an ANDROID_SDK_ROOT environment variable or by setting the sdk.dir path in your project's local properties file at '/Users/tomasz/development/flutter/.pub-cache/hosted/pub.dartlang.org/adjust_sdk-4.26.0/android/local.properties'.
* 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 5m 31s
Exception: The plugin adjust_sdk could not be built due to the issue above. |
Wow. That's strange. Not even I have that environment variable set up. Can you send output of |
Of course I cleaned project. flutter doctor -v
flutter run --flavor=production --release --verbose
|
Any update? Facing the same issue.
|
Not sure if this is related to anyone else's issue. I am using https://pub.dev/packages/contacts_service in my code and it had an issue with resolving the new Could boil down to a Gradle Issue. |
Hey @chillbrodev, thanks for this observation. I think that Gradle version topic was where I was going with this comment. I would also be curious to hear if Gradle version update solves the issue for those who are facing it right now. |
Hey guys (who are still facing the issue), Any update on this one? |
In case this is still an issue for you guys, please feel free to comment/reopen. Cheers. |
When I try building the apk I get this error message that the build grade is not supported. When I manually change the gradle to 6.1.1 it also fails.
I can't release my app anymore without it crashing.
Error Message below:
FAILURE: Build failed with an exception.
Where:
Build file '/Users/cedricyarish/flutter/.pub-cache/hosted/pub.dartlang.org/adjust_sdk-4.22.0/android/build.gradle' line: 25
What went wrong:
A problem occurred evaluating root project 'adjust_sdk'.
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.
The text was updated successfully, but these errors were encountered: