我正在开发一个clap检测android应用程序。为此,我使用了 api。
我从github导入了这个项目,并在android设备上运行。然后这个错误显示- DetectionAPI只支持mono
细节LogCat是-
DetectionAPI supports mono Wav only
java.lang.NullPointerException: Attempt to invoke virtual method 'int com.musicg.wave.WaveHeader.getBitsPerSample()' on a null object reference
at
我的应用程序是在游戏商店现场直播。它并不是在所有的设备中崩溃,但我只能在几个设备中看到这种崩溃。请帮我解决这个问题。
Lcom/google/android/gms/auth/api/phone/SmsRetriever;的java.lang.NoClassDefFoundError:失败的解析在com.facebook.accountkit.internal.PhoneLoginController.createSmsToken(PhoneLoginController.java:250) at com.facebook.accountkit.internal.PhoneLoginCont
我在firebase崩溃报告中得到异常。
但是不了解异常的原因。
应用程序在android 5上运行良好
Exception java.lang.IllegalAccessError: Method 'java.lang.Object ade.a(int,
java.lang.Object, java.lang.Object)' is inaccessible to class
'com.google.maps.api.android.lib6.impl.fb' (declaration of
'com.google.maps.api.androi
Am getting following error while building project. Is there any solution for this
org.gradle.api.tasks.TaskExecutionException: Execution failed for task ':app:mergeDebugResources'.
at org.gradle.api.internal.tasks.execution.ExecuteActionsTaskExecuter.executeActions(ExecuteActionsTas
我发布了一个应用程序,可以在从安卓4.X到7.X的大多数手机上运行得很好,但只有一个设备,HTC one M9 (6.0棉花糖),应用程序每次都会崩溃。当主菜单被加载,应用程序试图连接到google play游戏服务时,总是会发生这种情况。老实说,我不了解错误日志。这是我得到的:
java.lang.RuntimeException: An error occurred while executing doInBackground()
at android.os.AsyncTask$3.done(AsyncTask.java:309)
at java.util.concurre
我试图从Android Studio内部运行我的应用程序,但每次尝试时都会收到以下错误:
FAILURE: Build failed with an exception.
* What went wrong:
Execution failed for task ':android:validateSigningDebug'.
> java.util.concurrent.ExecutionException:
com.android.builder.utils.SynchronizedFile$ActionExecutionException:
com.androi
我已经尝试了这里发布的解决方案:升级到26.0.2不起作用。
在运行项目构建时,我得到了以下输出,该输出以一个错误结束,表明我拥有的任何本机组件都不能构建。
> Configure project :app
Configuration 'compile' in project ':app' is deprecated. Use 'implementation' instead.
The Task.leftShift(Closure) method has been deprecated and is scheduled to be remo
我是react-native的初学者,并试图通过遵循教程在我的react-native android应用程序中安装。
在进行了包括在内的所有更改后,我得到以下错误:-
Execution failed for task ':app:processDebugResources'.
以下是完整的回溯:
Scanning folders for symlinks in /home/vineet/test/maps4/node_modules (9ms)
JS server already running.
Building and installing the app on the
我将import.io jar包含在我的安卓项目中,尝试运行示例并获得以下结果:
FATAL EXCEPTION: main
java.lang.NoClassDefFoundError: com.importio.api.clientlite.json.JacksonJsonImplementation$1
at com.importio.api.clientlite.json.JacksonJsonImplementation.<init>(JacksonJsonImplementation.java:17)
at com
这以前是可行的,最近升级了Android & gradle。
~/app:../gradlew clean uploadHockeyDebugToHockeyApp --stacktrace
WARNING: WARNING: Dependency commons-logging:commons-logging:1.1.1 is ignored for hockeyDebug as it may be conflicting with the internal version provided by Android.
AILURE: Build failed with an exce
我想从C++调用包含Android SDK类的Java代码。我可以为desktop console application从C++调用纯Java代码。但是我不能从C++ for Android中调用包含Android SDK类的Java代码(我得到这个错误:JNI_CreateJavaVM was not declared in this scope.)。我想要一个安卓Java Native Interface的例子。你有关于Android的JNI的例子吗?此外,我发现JNI示例和代码只适用于桌面,而不适用于Android。我还发现了不同的jni.h和libjvm.so文件位置:
jni.h
我的情况:我已经创建了一个Android项目,其中包含了Android的一个示例活动。我用 in eclipse(neon)创建了一个jar (不是可执行的),它只有一个类,并且遵循来包含这个jar。在我的活动的onCreate()方法中,我通过调用jar的构造函数来使用jar中的代码。
我的问题/问题:我的问题是什么?我是以错误的方式创建了我的jar,还是在Android中丢失了什么?
Android消息:
UNEXPECTED TOP-LEVEL EXCEPTION:
Error:com.android.dx.cf.iface.ParseException: bad class file