我更改了项目的类名,之后在运行应用程序时,我在“Message Build Gradle”中显示了这个名称。我已经尝试撤消名称更改,但仍在显示。
Error:Execution failed for task ':app:transformClassesWithDexBuilderForDebug'.
> com.android.build.api.transform.TransformException: com.android.builder.dexing.DexArchiveBuilderException: com.android.builder.dexing.DexArchiveBuilderException: Failed to process D:\Wamiq_stuff\My_Android_work\AssignShare\app\build\intermediates\transforms\instantRunSlicer\debug\5
Error:com.android.dx.cf.iface.ParseException: class name (com/wamiqanwar/assignshare/login_page$3) does not match path (com/wamiqanwar/assignshare/Login_Page$3.class)
Error:com.android.builder.dexing.DexArchiveBuilderException: Error while dexing com/wamiqanwar/assignshare/Login_Page$3.class
Error:com.android.builder.dexing.DexArchiveBuilderException: Failed to process D:\Wamiq_stuff\My_Android_work\AssignShare\app\build\intermediates\transforms\instantRunSlicer\debug\5
感谢阅读!!
答案 0 :(得分:0)
您需要清理并重建项目。出现此问题的原因可能是,在您更改了代码后,启用即时运行功能的应用无法重建。