0

I am new to Android Studio and android development at all. I want to build an .apk file but the error occurs. As a rookie, I basically don't know what to do and what could cause that type of error. Log here.

N. Levenets
  • 77
  • 1
  • 1
  • 8
  • Your artifacts aren't imported. Did you run `gradle cJ` before building the project? Does that generate any error? –  Mar 26 '18 at 19:58
  • @MohammadRakibAmin oh.. So how can I import them? – N. Levenets Mar 26 '18 at 20:08
  • Make sure your build.gradle file is correctly formatted. Follow this pattern for including all the dependencies https://developer.android.com/studio/build/dependencies.html#dependency-types. Then run `gradle clean build`. –  Mar 26 '18 at 20:15
  • @MohammadRakibAmin I added Local binary dependency line, ran clean build but the error persists. – N. Levenets Mar 26 '18 at 20:27
  • Could you clear your local gradle cache? Like stated in this Answer by Anuj https://stackoverflow.com/a/45553123/2453382 –  Mar 27 '18 at 02:32

0 Answers0