简体   繁体   English

我的android项目的代码被单独破坏了,但是源文件是完整的,我不知道发生了什么

[英]the code of my android project was destroyed alone, but the source files are intact, I do not understand what's going on

after generate my apk file, my code is become as shown in this picture https://prnt.sc/lbm72c but I checked my source code and it is intact, how can i fix it? 生成我的apk文件后,我的代码变成如下图所示:https://prnt.sc/lbm72c,但是我检查了源代码,它是完整的,我该如何解决?

i remove build folder and idea but nothing has changed 我删除了构建文件夹和想法,但没有任何改变

I think my problem comes from gradle 我认为我的问题来自gradle

Whenever you experience anything weird in Android Studio the first thing to do is Clean project and then Rebuild . 每当您在Android Studio中遇到任何奇怪的事情时,首先要做的就是先Clean project ,然后再进行Rebuild If that doesn't work try Invalidate caches and Restart 如果这样不起作用,请尝试使Invalidate caches and Restart

Maybe something was meseed up into you gradle files. 也许有些东西混入了您的gradle文件中。 Can you attach the error you get? 可以附上您收到的错误吗?

暂无
暂无

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

相关问题 试图了解我的 Java class 发生了什么 - Trying to understand what's going on for my Java class 如何在Eclipse中将源代码附加到项目的库中? - How do I attach source code into a project's library in Eclipse? 在我的项目中构建和重用android开源Dialer源代码 - Build and reuse android open source Dialer source code in my project 以下代码是一个 java Arraylist 代码,我无法理解它出了什么问题 - The following code is a java Arraylist code and I am unable to understand what is going wrong with it 在Java项目中使用外部开源库该怎么办? - What do I have to do to use an external open source library in my Java project? 如何在编译之前修改 Gradle 项目中的 Java 源代码而不修改磁盘上的文件? - How can I modify Java source code in my Gradle project prior to compilation without modifying the files on disk? 如何获取IntelliJ的“项目文件”视图以显示源文件夹中的软件包和目录? - How do I get IntelliJ's Project Files view to show the packages and directories in the source folders? 在Eclipse中,如何将“打开类型”快捷方式限制为仅显示当前项目中的源文件 - In Eclipse, how do I limit the Open Type shortcut to only show source files in my current project $ define()在Java Android Studio源代码中做什么并且如何查看和更改此内容 - What does $define() do in java android studio source code do and how can I view and change this 我的代码中有什么错误? 我想从 2 天开始理解它? - what is the error in my code? I am trying to understand it from 2 days?
 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM