Android App not running because of error: "Could not determine the dependencies of task ':compileReleaseAidl'."
I have been developing my App for some time now and have mostly been testing it on an iOS device and iOS emulator and the agora_rtc package has given me no issues up untill now when I tried to run my app on a real android device.
Flutter is throwing the error below related to the package as: " 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/apple/Desktop/flutter/.pub-cache/hosted/pub.dartlang.org/agora_rtc_engine-1.0.13/android/local.properties'. "
I don't understand what could be the issue?
the solution is as you comment.
@SaoGoKu what file path you have opened in the android studio?
If you still face issues, please try upgrading to the new version to see if it works for you.
Without additional information, we are unfortunately not sure how to resolve this issue. We are therefore reluctantly going to close this bug for now. If you find this problem please file a new issue with the same description, what happens, logs and the output. All system setups can be slightly different so it's always better to open new issues and reference the related ones. Thanks for your contribution.
This thread has been automatically locked since there has not been any recent activity after it was closed. If you are still experiencing a similar issue, please raise a new issue.