• Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

android studio is giving an error when i build

 
johnson dubula
Ranch Hand
Posts: 33
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
good day

I am trying to build an android app for the google playstore and when i change the build type to "release " it gives me the error bellow



how do i resolve this
 
Brian Tkatch
Bartender
Posts: 567
25
Linux Notepad Oracle
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Because Android Studio can throw random errors, i would suggest two quick things in case it is an easy fix. That is, try option 1, if it doesn't help, try option 2.

1) Build->Rebuild Project (clean first?)
2) File -> Invalidate Caches / Restart

These two options have fixed build errors or wonky runtime behavior, time to time.
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic