Attempted to fix androids “ill-advised or mistaken usage of a core class” went bad

前端 未结 5 1678
我寻月下人不归
我寻月下人不归 2020-12-16 17:50

After trying to fix this on my own from what I have seen around the net I cannot still figure out what this means:

[2013-08-15 23:58:27 - StudioTab] Dx 
trou         


        
5条回答
  •  既然无缘
    2020-12-16 18:50

    I runs into the similar complains. It turns out that my external library has the same class as those in the android SDK.

    So my resolution is that use customized SDK instead of android SDK.

    To do that, following the following steps: o A, change the directory 'sdk.dir' in local.properties o B, "sync project with SDK files". The button should be able to be located on toolbar. On the popup window, choose "project SDK". o It may ask for downloading platform build tool (depends on definition in build.gradle file. For instance, in the filed of buildToolsVersion, the value is 23.0.3. Android studio may ask for the permission to download it. Allow the download. o Android studio shall be able to compile and build APK.​

提交回复
热议问题