Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Android Studio updates have led to errors

I just updated my Android Studio to the current 0.3.1 version. Consequently I've started getting a few issues that I can't seem to understand. First I get this message about problems with the plugin on launching Android Studio. The message is as follows:

Plugin Error
Problems found loading plugins: Plugin "Android Designer" was not loaded: 
required plugin "Android Support" is disabled. 
Plugin "Google Cloud Tools For Android Studio" was not loaded: 
required plugin "Android Support" is disabled.  
Disable not loaded plugins Enable Android Support Open plugin manager

The most worrying - which has essentially halted my progress at the moment - is that the IDE can't resolve XML files in the R.xxx. Such as this line:

  setContentView(R.layout.activity_lists);

It suggests I use android.R which brings up further errors due to incompatibility. I'm not sure how to fix this. On another occassion when this happened, further updates automatically resolved this issue.

like image 753
user2766109 Avatar asked Mar 23 '26 21:03

user2766109


1 Answers

In Android SDK Manager, select the following items and then click Install packages:

Extras/Google Repository

Extras/Android Support Repository

After install restart Android studio

like image 79
Nand Avatar answered Mar 25 '26 11:03

Nand



Donate For Us

If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!