android studio
writeapoemforyou
Read The Fucking Source Code
展开
-
如何使用Dx命令将jar打包成Dex,需要使用D8命令
使用dx打包的完整命令,将D:\ssh1.0.jar打包成MyClass.dex,MyClass.dex将会输出在当前CMD命令窗口的目录下。运行结果:不要使用dx命令,打出来的dex可以运行,但是会经常崩溃。报错信息太少了只有一句:Killed。只需要添加--min-api 26就可以了完整命令如下。但是d8打包也不太容易,也会报如下 的错误。如果不加--min-api会报错。原创 2023-01-18 09:56:14 · 1685 阅读 · 0 评论 -
class name does not match path
class name does not match path原创 2022-12-07 21:06:45 · 376 阅读 · 0 评论 -
【Android开发】Android Studio 的 Gradle Task 没有显示的问题
【Android开发】Android Studio 的 Gradle Task 没有显示的问题转载 2022-09-05 11:42:11 · 218 阅读 · 0 评论 -
android studio 错误: 找不到符号 符号: 方法 xxx() 位置: 类 xxx
是因为你的androidStudio内部的库第一个库设置的是这个androidTargetSdkVersion = 29androidCompileSdkVersion = 29第二个库设置的是这个androidTargetSdkVersion = 28androidCompileSdkVersion = 28两个库源码不一样的。导致此问题。改成一样就可以了。...原创 2021-04-29 18:17:06 · 589 阅读 · 0 评论 -
Could not resolve all artifacts for configuration ‘:classpath‘.
> Could not resolve all artifacts for configuration ':classpath'. > Could no18:40 Gradle sync failed: Could not find trove4j.jar (org.jetbrains.trove4j:trove4j:20160824). Searched in the following locations: https://j...原创 2020-12-04 18:51:52 · 2362 阅读 · 0 评论 -
the color in values has no declaration in the base value floder
the color in values has no declaration in the base value floder是因为在 settings.gradle 里面将这个模块删掉了。原创 2020-08-31 18:50:06 · 2853 阅读 · 0 评论 -
android studio 报错 AAPT: error: style attribute ‘attr/colorPrimary (aka com.
是因为把这个 implementation 'androidx.appcompat:appcompat:1.2.0' 给删掉了。dependencies { implementation 'androidx.appcompat:appcompat:1.2.0'}原创 2020-08-31 18:12:54 · 18257 阅读 · 5 评论