Instant run issue on Android Studio 2.2

前端 未结 11 1785
广开言路
广开言路 2020-12-17 08:42

I have updated my android studio to 2.2, Since then I get this strange issue when running the studio gives me error Instant Run requires that the platform corresponding to

11条回答
  •  北荒
    北荒 (楼主)
    2020-12-17 09:23

    I had the same problems as you all and I solved it.

    If you get an error like 'error Package id platforms;android-1 ' you must go to: Tools -> Android->SDK Manager, and thed to SDK Platforms. Make sure that 'Show Package Details' tab is checked (so that you can see all packages) and Android 1.1 package installed.

    Otherwise just install it like all others packages. After you do this, restart Android Studio, unplug/plug phone. You will be asked then to conform something at your device, say ok and you fixet problem.

提交回复
热议问题