![](https://img-blog.csdnimg.cn/20210806114433162.png?x-oss-process=image/resize,m_fixed,h_224,w_224)
AndroidStudio报错
AndroidStudio报错
舒小羽
不知名程序⚪
展开
-
Android Studio直接运行到夜神模拟器上报错:The application could not be installed: INSTALL_PARSE_FAILED_NO_CERTIFIC
今天新建了一个最新的AS项目,懒得开手机连接电脑测试,索性就下了个最新版的夜神模拟器结果我连接好了夜神模拟器到Android Studio,然后点击运行,发现报错Installation did not succeed. The application could not be installed: INSTALL_PARSE_FAILED_NO_CERTIFICATES List of apks: [0]'G:\AndroidstudioProjects\MyDemolapp\build\outp原创 2021-08-04 12:00:56 · 1852 阅读 · 1 评论 -
AndroidStudio报错:A failure occurred while executing org.jetbrains.kotlin.gradle.internal.KaptEx
实际造成这个问题是原本升级到 Kotlin 1.3.70版本(目前最新3月5号发布的),AS升级到了3.6.1,项目中有用到协程,所以都用更新到了最新,后面问题马上就如上图所示,gradle起不来了,查阅一通,发现大家都没有遇到过,后面追踪到实际错误日志,把ext.kotlin_version = ‘1.3.70’ 降到ext.kotlin_version = ‘1.3.60’ 编译后一下子活过来了。...原创 2021-08-02 23:45:29 · 2792 阅读 · 0 评论 -
AndroidStudio报错:java.lang.IllegalArgumentException: Failed to find configured root that contains
AndroidStudio报错:java.lang.IllegalArgumentException: Failed to find configured root that contains原创 2022-10-24 10:02:57 · 1284 阅读 · 0 评论 -
AndroidStudio报错:have you declared this activity in your AndroidManifest.xml?
android.content.ActivityNotFoundException: Unable to find explicit activity class {com.bb.bb/com.bb.bb.ui.mine.MineActivity}; have you declared this activity in your AndroidManifest.xml?原创 2021-05-19 20:51:50 · 10769 阅读 · 1 评论 -
AndroidStudio报错:Connection timed out: connect. If you are behind an HTTP proxy
Connection timed out: connect. If you are behind an HTTP proxy, please configure the proxy settings either in IDE or Gradle.连接超时:连接。如果您在HTTP代理之后,请在IDE或Gradle中配置代理设置。maven{ url ‘https://maven.aliyun.com/repository/google’}...原创 2021-04-01 18:03:40 · 11281 阅读 · 1 评论 -
AndroidStudio报错:No outputs for the main artifact of variant: debug
https://stackoverflow.com/questions/56440572/how-to-fix-unable-to-determine-application-id-com-android-tools-idea-run-apkpr/64373002原创 2021-03-29 18:01:19 · 549 阅读 · 0 评论 -
AndroidStudio报错:Error while executing: am start -n
Error while executing: am start -n “com.snxun.bj.rybs/com.snxun.bj.rycx.ui.splash.SplashActivity” -a android.intent.action.MAIN -c android.intent.category.LAUNCHERStarting: Intent { act=android.intent.action.MAIN cat=[android.intent.category.LAUNCHER] cmp原创 2021-03-10 18:05:59 · 771 阅读 · 0 评论 -
Android应用内跳转WebView报错:NET_ERROR(CLEARTEXT_NOT_PERMITTED,-29)
Android应用内跳转WebView报错:NET_ERROR(CLEARTEXT_NOT_PERMITTED,-29)解决:在AndroidManisfest.xml清单文件里加入android:usesCleartextTraffic="true"原创 2021-03-03 18:12:41 · 1041 阅读 · 0 评论 -
AndroidStudio报错:java.lang.IllegalStateException: Fragment already added
java.lang.IllegalStateException: Fragment already added: BackTrialFragment{108bdda} (e2ec6437-722d-43ec-aa47-ba82e66656ea) id=0x7f08029e android:switcher:2131231390:0}如果使用ButterKnife,应该是对应错乱原创 2021-02-25 18:38:05 · 701 阅读 · 0 评论 -
AndroidStudio报错:Entry name ‘META-INF/androidx.legacy_legacy-support-core-utils.version‘ collided
Entry name ‘META-INF/androidx.legacy_legacy-support-core-utils.version’ collided删除build原创 2021-02-02 18:54:10 · 3362 阅读 · 0 评论 -
AndroidStudio报错:Caused by: org.greenrobot.eventbus.EventBusException:Subscriber class...
Caused by: org.greenrobot.eventbus.EventBusException: Subscriber class com.snxun.bj.txlnew.ui.detail.ContactsDetailActivity already registered to event class com.snxun.bj.txlnew.bean.event.InfoRefreshNotifyEventhttps://blog.csdn.net/weixin_40420578/articl原创 2021-01-29 18:20:14 · 1435 阅读 · 0 评论 -
AndroidStudio报错:Failed to start monitoring CJL0217113005096
Failed to start monitoring CJL0217113005096重新链接手机原创 2021-01-27 18:26:58 · 6969 阅读 · 0 评论 -
AndroidStudio的Run运行图标变灰色,不能运行项目(运行Run图标变灰色,类文件图标正常)
方法一:点击File-Sync Project with Gradle Files方法二:点击这个框框,选择app原创 2021-01-13 19:32:54 · 1113 阅读 · 1 评论 -
AndroidStudio下载的项目不能运行(运行Run图标变灰色,类文件图标为红色J)
当你发现AndroidStudio的项目不能运行,且运行图标变灰色,像下图一样的时候然后这个图标也奇奇怪怪的时候不要慌张,首先,先找到项目下的build.gradle然后看看里面的classpath 'com.android.tools.build:gradle:4.1.1’的版本对不对,不对的话更改一下(可以参考以前的代码)上面的方法只针对知晓com.android.tools.build:gradle版本的情况如果不行、没动静等,就点击这个小象重新加载一下然后,AS就开始加载了,等原创 2021-01-06 19:21:56 · 5703 阅读 · 1 评论 -
AndroidStudio报错:Didn‘t find class “XXXActivity“ on path
在运行项目的时候报错:java.lang.RuntimeException: Unable to instantiate activity ComponentInfo{com.bj.xw/com.bj.xw.MainActivity}: java.lang.ClassNotFoundException: Didn’t find class “com.bj.xw.MainActivity” on path: DexPathList[[zip file “/data/app/com.bj.xw-2/base.原创 2020-10-15 18:47:04 · 1451 阅读 · 0 评论