应用程序未能安装Android 9(Pie)

应用程序未能安装Android 9(Pie),android,appcelerator-titanium,appcelerator-mobile,appcelerator-studio,Android,Appcelerator Titanium,Appcelerator Mobile,Appcelerator Studio,当我尝试运行我的项目时,任何Android版本为9.0的设备,我都会遇到以下错误。我试过3种不同的设备 [ERROR] : Application failed to install The current timeout is set to 240000 ms You can increase this timeout by running: titanium.js config android.appInstallTimeout <timeout ms> [ERROR] Appl

当我尝试运行我的项目时,任何Android版本为9.0的设备,我都会遇到以下错误。我试过3种不同的设备

[ERROR] : Application failed to install
The current timeout is set to 240000 ms
You can increase this timeout by running: titanium.js config android.appInstallTimeout <timeout ms>
[ERROR] Application Installer abnormal process termination. Process exit value was 1

请尝试执行以下操作:

appc ti config android.dx.maxMemory 2048m

这似乎是一个已知的安卓问题。我通过在~/.profile或~/.bash_profile中添加以下内容来解决此问题:

export\u JAVA\u OPTIONS=“-Djava.net.preferipv6address=true”

在添加这些之后,我可以在Android 9中安装MacOS应用程序,这也适用于Linux。对于Windows,请检查“梯度同步失败:管道断裂”的解决方案


另外,请再次检查手机的“设置/连接的设备/USB”中是否启用了“传输文件”。Android 9将默认选项设置为“只需充电”手机。

您好,可能您的手机没有足够的空间来安装应用程序吗?谢谢,但有这么多地方可以安装apk。
appc ti config android.dx.maxMemory 2048m