• 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: 568
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.
 
What are you doing? You are supposed to be reading this tiny ad!
the new thread boost feature brings a LOT of attention to your favorite threads
https://coderanch.com/t/674455/Thread-Boost-feature
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!