草庐IT

EXIT_SUCCESS

全部标签

android - Ionic run error exit code 1 设备通信超时

我最近在尝试运行任何Cordova项目时开始遇到此错误,无论是Ionic项目还是普通的Cordova项目。它允许我毫无问题地构建项目,但如果我尝试使用命令ionicrunandroid或cordovarunandroid推送到设备或模拟器,我得到以下错误:我已经在工作并且可以确认它昨天在工作。同时没有任何变化。这是在Windows机器上。我已经格式化并重新安装了一天有用的所有东西,然后我开始收到同样的错误。NPMversion2.14.12Ionicversion1.7.12Cordovaversion5.4.1Javaversion1.8.0_66 最佳答

android - 谷歌播放服务 : Finished With Non Zero Exit Value 2

由于我的gradle内部出现问题,我无法让我的程序运行。我最近添加了依赖项:compile'com.google.android.gms:play-services:7.3.0'我的项目。我在我的项目中将它用于map。但是当我运行这个项目时,我得到了这个错误:Information:Gradletasks[:app:assembleDebug]:app:preBuildUP-TO-DATE:app:preDebugBuildUP-TO-DATE:app:compileDebugNdkUP-TO-DATE:app:checkDebugManifest:app:preReleaseBuil

android - 在 Android 上的 phonegap 应用程序中关闭 exit-on-suspend

我在Android上使用Phonegap编写了一个应用程序,并直接从我的移动设备(Android)上的Eclipse运行它。挂起时退出配置为true。现在我想更新应用程序,但我无法做到这一点,因为每次我从Eclipse运行应用程序(在我的设备上运行)时,我都会得到旧版本,因为每次退出应用程序时,它都会得到暂停,然后在再次启动时恢复。更新很重要,因为我需要一些数据库信息,但我无法使用我编写的代码来获取所需的信息,因为应用程序未在移动设备上更新(它一直在恢复).如何在不丢失数据库(SQLite)的情况下强制更新应用程序?我更改了config.xml并关闭了exit-on-suspend但它

android - 玻璃 : How to gracefully exit on a downswipe to the main menu

对于GoogleGlass应用程序,如何让您的应用程序在向下滑动到主玻璃菜单时优雅地退出?在MainActivity中尝试这段代码:@OverrideprotectedvoidonCreate(BundlesavedInstanceState){super.onCreate(savedInstanceState);if(getIntent().getBooleanExtra("EXIT",false)){finish();return;}}@OverridepublicbooleanonKeyDown(intkeycode,KeyEventevent){if(keycode==KeyE

Android gradle 构建错误 "finished with non-zero exit value 42",这是什么意思,我该如何解决?

我正在尝试在我认为是最新版本的androidstudio上运行一个较旧的项目。当我尝试运行或调试应用程序时,我收到2条错误消息。我有谷歌这个,没有找到可行的解决方案。错误1错误:错误:com.android.ide.common.process.ProcessException:org.gradle.process.internal.ExecException:Process'command'E:\AndroidStudio\Android\sdk\build-tools\21.1.2\aapt.exe''以非零退出值42结束错误2错误:任务':app:mergeDebugResour

c# - 我从 GCM 服务器 {"success":1} But the Notification not Come to the Device 得到了这个响应

我正在尝试通过推送通知来通知设备我从GCM服务器收到了这个响应{"multicast_id":8594338261894783737,"成功":1,"失败":0,"canonical_ids":0,"结果":[{"message_id":"0:1355822022916886%8ae6056ef9fd7ecd"}]}还是收不到通知有了知识-->"success":1但我认为这里有问题-->"canonical_ids":0这是我的代码......privatestringSendGCMNotification(stringapiKey,stringpostData,stringpost

Flutter 无法编译 apk : Finished with error: Gradle task assembleDebug failed with exit code 1

Flutter无法编译apk。我不确定这是否与AndroidX或其他什么有关。Launchinglib\main.dartonAndroidSDKbuiltforx86indebugmode...Initializinggradle...Resolvingdependencies...RunningGradletask'assembleDebug'...registerResGeneratingTaskisdeprecated,useregisterGeneratedResFolders(FileCollection)registerResGeneratingTaskisdepreca

Flutter 无法编译 apk : Finished with error: Gradle task assembleDebug failed with exit code 1

Flutter无法编译apk。我不确定这是否与AndroidX或其他什么有关。Launchinglib\main.dartonAndroidSDKbuiltforx86indebugmode...Initializinggradle...Resolvingdependencies...RunningGradletask'assembleDebug'...registerResGeneratingTaskisdeprecated,useregisterGeneratedResFolders(FileCollection)registerResGeneratingTaskisdepreca

android - avdmanager : Command failed with exit code 1 cordova

我刚开始从cordova官方教程制作我的第一个原生cordova应用程序,当我运行时ayam@laptop:~/Documents/learn/hello$cordovarequirementsandroid的需求检查结果:JavaJDK:installed1.8.0AndroidSDK:installedtrueAndroidtarget:notinstalled***avdmanager:Commandfailedwithexitcode1Gradle:installed/usr/local/gradle-3.5/bin/gradleError:Someofrequirements

android - error "Process ' command './node_modules/expokit/detach-scripts/run-exp.sh' ' finished with non-zero exit value 1"whie getting android apk file

我有一个带有expokit工具的reactNative项目。现在我想从androidstudio获取一个apk输出文件。但我收到了这个错误:Process'command'./node_modules/expokit/detach-scripts/run-exp.sh''finishedwithnon-zeroexitvalue1如有任何帮助,我们将不胜感激。 最佳答案 运行“exppublish”并重试。希望这会有所帮助:) 关于android-error"Process'comman