android
Ang纯粹
人生是由自己决定的!
展开
-
Android Error:Execution failed for task ':app:transformClassesAndResourcesWithProguardForRelease'. >
android Studio 在编译时候突然报出以下错误:Error:Execution failed for task ':app:transformClassesAndResourcesWithProguardForRelease'. >原因是proguard-rules.pro文件启用时报错,解决方法:在proguard-rules.pro里面加入图片中圈起来的部分即可!...原创 2018-07-06 15:42:01 · 299 阅读 · 0 评论 -
Error:All flavors must now belong to a named flavor dimension. Learn more at https://d.android.com
studio更新最版本之后,提示:Error:All flavors must now belong to a named flavor dimension. Learn more at https://d.android.com解决方案:在Module下build.gradle的android{}里添加:flavorDimensions "color"productFlavors...原创 2018-08-16 10:07:31 · 142 阅读 · 0 评论 -
gradle project sync failed. Basic functionality (e.g. editing, debugging) will not work properly
问题:gradle project sync failed. Basic functionality (e.g. editing, debugging) will not work properly 解决方法:找到 gradle\wrapper\gradle-wrapper.properties 文件,添加如下一段话如果未成功,自己手动下载这个版本的Gradle,无需解压直接拷贝到C:...原创 2018-08-16 13:27:24 · 6147 阅读 · 1 评论 -
Android Studio:Error:java.util.concurrent.ExecutionException: com.android.tools.aapt2...
studio导入项目提示如下:解决方式:只需在工程的gradle.properties文件中添加以下命令:android.enableAapt2=false原创 2018-09-02 18:44:01 · 287 阅读 · 0 评论 -
Error:Execution failed for task ':app:transformDexArchiveWithExternalLibsDexMergerForDebug'.
Error:FAILURE: Build failed with an exception.* What went wrong:Execution failed for task ':app:transformDexArchiveWithExternalLibsDexMergerForDebug'.> java.lang.RuntimeException: com.android.b...原创 2018-11-01 13:15:42 · 1212 阅读 · 0 评论 -
emulator: ERROR: x86 emulation currently requires hardware acceleration 启动模拟器异常
1.安装错误:需要操作一下步骤:BOIS–>Security–>Virtualization ,disable->enable 保存退出重启 2.在sdk\extras\intel\Hardware_Accelerated_Execution_Manager文件夹下双击安装一下intelhaxm-android.exe,如图所示:3.到studio-> To...原创 2019-02-26 17:47:51 · 278 阅读 · 0 评论