今天用Android Studio编译项目的时候,遇到一个问题,instant run is disbled。

 

All packages are not available for download!

The following packages are not available:

- Package id platforms;android-16

 

 Instant Run is disabled的解决办法

Instant Run is disabled:
Instant Run requires that the Android SDK for the API level of the device you are deploying to is installed.
To use Instant Run, open SDK Manager and install the missing platform. 

 

对于这个我暂时还没有找到disabled的源头, 但是暂时有一个办法来解决

那就是把instant run 给关闭掉,

打开设置,搜索 instant run 关闭所有,确认。

之后重新运行就可以顺利运行了。

Instant Run is disabled的解决办法

 

 

相关文章: