草庐IT

Execution_Start

全部标签

android - Ionic starter 无法在 crosswalk-lite 上运行 : Unable to start activity ComponentInfo

我正在使用crosswalk-lite启动ionic应用程序,但它不能同时在真实设备和genymotion上运行。ionicstartmyApptabsnpminstallbowerinstallionicserve#当我执行adblogcat时,它显示错误java.lang.RuntimeException:UnabletostartactivityComponentInfo{com.ionicframework.myapp}我用:节点v0.10.36ionic1.4.5Cordova4.3.0插件:com.ionic.keyboard1.0.4cordova-plugin-cros

android - DeviceMonitor 不断报错 "failed to start monitoring emulator-5554",我该如何解决?

我在模拟器上运行了一次eclipse并获得了所需的输出,但是当我运行另一个项目时,在给出最后的输出一段时间后,我一直不断地收到DeviceMonitor错误:“无法开始监控emulator-5554”,你呢?知道如何修复它吗? 最佳答案 假设你只有一个模拟器在运行,试试adbkill-serveradbstart-server这应该会重新启动adb服务器连接。 关于android-DeviceMonitor不断报错"failedtostartmonitoringemulator-5554

java - gradlew appengineEndpointsInstallClientLibs 有错误 Execution failed for task ':compileJava' 。 > 无效源版本 : 1. 7

我无法安装客户端库。我总是有这个错误。:tangke-appengine:appengineDownloadSdk:tangke-appengine:compileJavaFAILEDFAILURE:Buildfailedwithanexception.出了什么问题:Executionfailedfortask':tangke-appengine:compileJava'.invalidsourcerelease:1.7我的java版本是这个Java版本“1.7.0_51”Java(TM)SE运行时环境(build1.7.0_51-b13)JavaHotSpot(TM)64位服务器VM

java - 错误 : Execution failed for task ':app:shrinkReleaseMultiDexComponents'

我正在尝试生成一个APK以便在Google商店中发布,但我收到以下错误:Error:Executionfailedfortask':app:shrinkReleaseMultiDexComponents'.java.io.IOException:Theoutputjar[/home/nome/Projects/app-android/app/_app/build/intermediates/multi-dex/release/componentClasses.jar]mustbespecifiedafteraninputjar,oritwillbeempty.我该如何解决这个问题?

android - 错误 :Execution failed for task ':app:transformClassesWithMultidexlistForDebugAndroidTest'

我无法弄清楚为什么会出现此错误这里是完整的错误Error:Executionfailedfortask':app:transformClassesWithMultidexlistForDebugAndroidTest'.>java.io.IOException:Theoutputjarisempty.Didyouspecifytheproper'-keep'options?我的gradleandroid项目没有“androidTest”,所以我手动创建了测试文件夹,这里是文件夹结构的屏幕截图 最佳答案 我不认为这是完美的答案,但这就

android - java.lang.SecurityException : Not allowed to start service Intent 错误

我从googleplay的用户那里得到以下异常:java.lang.SecurityException:NotallowedtostartserviceIntent{act=com.google.android.c2dm.intent.REGISTERpkg=com.google.android.gsf(hasextras)}withoutpermissioncom.google.android.c2dm.permission.RECEIVE我将我的应用程序上传到市场已经8个月了,这是我第一次遇到此异常。谁能告诉我,这个异常是怎么突然来的,这是怎么回事。我在网上搜索但找不到任何东西。请

Android问题笔记四十:多方案解决AAPT: error: failed to read PNG signature: file does not start with PNG signature

点击跳转=>Unity3D特效百例点击跳转=>案例项目实战源码点击跳转=>游戏脚本-辅助自动化点击跳转=>Android控件全解手册点击跳转=>Scratch编程案例点击跳转=>软考全系列👉关于作者专注于Android/Unity和各种游戏开发技巧,以及各种资源分享(网站、工具、素材、源码、游戏等)有什么需要欢迎底部卡片私我,交流让学习不再孤单。👉实践过程😜问题编译打包出现了AAPT:error:failedtoreadPNGsignature:filedoesnotstartwithPNGsignature.这是因为项目的图片资源格式不是正常的,而是简单的通过重命名更改的格式后缀,这种直接修

android - 在 onLongClickListener 中调用 MediaRecorder.start 时在 android.media.MediaRecorder.start 处出现 java.lang.IllegalStateException

我想在按住按钮时使用MediaRecorder开始录制语音消息。尝试在onLongClickListener中开始录制时出现IllegalStateException。如堆栈跟踪中所述,我收到的错误位于第219行:recorder.start()为什么会这样?btnSendVoice.setOnLongClickListener(newOnLongClickListener(){@OverridepublicbooleanonLongClick(Viewview){isVoiceButtonHeld=true;startRecording();returnfalse;}});btnSe

android - Getting : Not allowed to start service Intent . ..未经许可服务进程不好

ACRA的暗恋报告向我发送了这个错误。java.lang.SecurityException:NotallowedtostartserviceIntent{act=auto_updatecmp=net.DailyTimer.CalendarAlarmHelperFree/net.DailyTimer.CalendarAlarmHelper.CalendarAlarmService}withoutpermissionServiceprocessisbad我在有限的设备上看到这个错误,我无法重现。我猜这个错误取决于运行环境。我的问题是:什么许可错误?我找不到“服务流程不好”是什么意思。编辑

具有 START_STICKY 的 Android 服务在终止应用程序时崩溃

这是我的Service在从Activity中单击按钮时被调用。如果我在Service运行时向左滑动Activity,它就会崩溃。我还尝试通过在list中放入android:process=":remote"在单独的进程中运行它,但它仍然是一样的。@OverridepublicvoidonCreate(){super.onCreate();Log.d("Service","Creating");}@OverridepublicIBinderonBind(Intentintent){//TODO:Returnthecommunicationchanneltotheservice.retur