继续面对Android Studio 3.4.1中的进程意外退出 [英] Keep facing Process unexpectedly exit in Android Studio 3.4.1

查看:33
本文介绍了继续面对Android Studio 3.4.1中的进程意外退出的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

更新 Java 后,在为 Android 创建构建时遇到进程意外退出的问题.我正在使用 Android Studio 3.3.0 并将其更新为 3.4.1 也看到任何更新,但没有任何变化.目前我正在使用

After an update of Java facing an issue of Process unexpectedly exit while creating the build for Android. I was using Android Studio 3.3.0 and updated it also into 3.4.1 also to see any update but there is no change. Currently I'm using

classpath 'com.android.tools.build:gradle:3.4.1'

无法运行我的应用程序.当我尝试运行时,错误显示:进程意外退出.

could not run my app. When I try to run the error shows : Process unexpectedly exit.

我尝试将 gradle 的版本从 3.4.1 降级到 3.1.4 但它也不起作用.它给出了一个新错误 Process 'command 'C:\Program Files\Android\Android Studio\jre\bin\java.exe'' finished with non-zero exit value -1073741502

I have tried with downgrading the version of gradle from 3.4.1 to 3.1.4 but it also din't work. And it gives a new error Process 'command 'C:\Program Files\Android\Android Studio\jre\bin\java.exe'' finished with non-zero exit value -1073741502

提前致谢.

推荐答案

根据您的问题,尝试从目录中删除现有项目的 .iml 文件,然后重新构建项目.希望它对你有用.

As per your problem, just try to delete .iml file of your existing project from the directory and then rebuild the project again. Hope it will work for you.

这篇关于继续面对Android Studio 3.4.1中的进程意外退出的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆