Cannot run my app, asking to select Android SDK

2020-07-20 04:52发布

Today I've installed Android Studio Canary 1

Now I cannot run my app. This following dialog appears.

I've already set the right SDK location through File-> Project Structure-> Android SDK location.

Expecting your help to solve this problem.

Warning Dialog image:

enter image description here

9条回答
聊天终结者
2楼-- · 2020-07-20 05:32

Go to sdk manager and install sdk according to your device and check your device api. Example if your device is jellybean then install api 19 sdk.

查看更多
聊天终结者
3楼-- · 2020-07-20 05:35

enter image description here

Just click on the button ..."Sync Project with gradle file" Error will be remove

查看更多
Evening l夕情丶
4楼-- · 2020-07-20 05:36

Go to project structure settings and set Source Compatibility and Target Compatibility to your current java development kit version:

List item

查看更多
登录 后发表回答