一、基础知识
二、性能监控
Android 性能监控与分析方法
三种必备内存&CPU测试的方法 | Android性能测试白皮书
三、Q & A
问题1:
xecution failed for task ':app:processDebugResources'.
java.io.IOException:
解决1:
./gradlew clean
问题2:
Execution failed for task ':app:compileDebugJavaWithJavac'.
> Could not create service of type AnnotationProcessorDetector using JavaGradleScopeServices.createAnnotationProcessorDetector().
解决2:
Run with --trace
问题3:
Caused by: java.io.FileNotFoundException: /Users/kindlehe/Project/android/android-demo-app-pytorch/HelloWorldApp/.gradle/5.4.1/fileContent/fileContent.lock (Permission denied)
解决3:
Permission denied
If you get "permission denied", that means that Gradle likely exists in the correct place, but it is not
executable. You can fix this using chmod +x path/to/executable on *nix-based systems.