Could not determine the dependencies of task ':compileReleaseJavaWithJavac'

:information_source: Attention Topic was automatically imported from the old Question2Answer platform.
:bust_in_silhouette: Asked By druce

Im trying to export my adnroid game but i keep having this error Could not determine the dependencies of task ‘:compileReleaseJavaWithJavac’.

:bust_in_silhouette: Reply From: dhananjay

Project < Export < Options < Custom Build < UNCHECK “use custom build” and set min and target sdk to default values .

this should allow you to generate apk file, also make sure to set debug and release key stores and use android studio sdk location