Android Studio问题汇总
现有项目生成apk时,提示Entry name 'assets/illustrate.html' collided
删除\app\release文件夹后重新编译
Android SDK package相关
Failed to install the following Android SDK packages as some licences have not been accepted.
https://blog.csdn.net/qq_30346413/article/details/96137430
解决SDK版本相关的问题:
https://stackoverflow.com/questions/54273412/failed-to-install-the-following-android-sdk-packages-as-some-licences- https://stackoverflow.com/questions/54273412/failed-to-install-the-following-android-sdk-packages-as-some-licences-have-nothave-not
在我的AS中的位置:
打包时报错Unknown option “-ignorewarning”
使用"-ignorewarnings" 替换proguard文件中的"-ignorewarning" 即可
参考:https://blog.csdn.net/qq_24501771/article/details/105665305
报错 Gradle sync failed: Invalid Gradle JDK configuration found.
22:03 Gradle sync started
22:03 Android Studio is using the following JDK location when running Gradle:
D:\Academic\AndroidStudio\program202.7351085\jre
Using different JDK locations on different processes might cause Gradle to
spawn multiple daemons, for example, by executing Gradle tasks from a terminal
while using Android Studio.
More info...
Select a JDK from the File System
Do not show this warning again
22:03 Gradle sync failed: Invalid Gradle JDK configuration found. Open Gradle Settings
(38 ms)
解决办法:
删除项目.idea文件夹下的
.idea/gradle.xml
.idea/workspace.xml