我在我的一个应用程序中使用了Room库,在编译我的应用程序时,它给出了以下错误:
\db\AppDatabase_Impl.java:393: error: code too large
protected void validateMigration(SupportSQLiteDatabase _db) {
^
Note: Some input files use or override a deprecated API.
Note: Recompile with -Xlint:deprecation for details.
1 error
:app:compileDebugJ
我知道这个错误
Error:(42, 38) error: cannot find symbol class newRequestQueue
Error:Execution failed for task ':app:compileDebugJavaWithJavac'.
Compilation failed; see the compiler error output for details.
在线:
RequestQueue queue=new Volley.newRequestQueue(this);
我正在Android Studio中开发一个Android应用程序。不太确定哪里出了问题。几天前,我正在成功地构建。任何帮助都是最好的。
下面是错误:
Error:Execution failed for task ':app:compileDebugJavaWithJavac'.
> Compilation failed; see the compiler error output for details.
* What went wrong:
Execution failed for task ':app:compileDebugJavaWithJavac&
我刚刚更新了android studio和gradle,但现在当我尝试运行这个应用程序时,我得到了以下错误:
Execution failed for task ':app:compileDebugJavaWithJavac'.
> Could not open local jar classpath snapshot write cache (C:\Users\Richi\Documents\Android Studio Project\AppMaster\.gradle\2.14.1\tasks\_app_compileDebugJavaWithJavac\local
能告诉我为什么我发现了这个错误吗?
Error:Execution failed for task ':app:compileDebugJavaWithJavac'. > java.io.FileNotFoundException:
G:\andriodproject\MyApplication2\app\libs\picasoo-2.5.2.jar (The system cannot find the file specified)
我有这个应用程序,是完美的工作。现在,我需要添加防火墙功能,但它无法构建。控制台错误:
Launching lib\main.dart on Phone in debug mode...
Configuration 'compile' in project ':app' is deprecated. Use
'implementation' instead.
registerResGeneratingTask is deprecated, use
registerGeneratedFolders(FileCollection)
registe
我在执行时得到了这个错误
react-native run-android
我尝试将tools.jar文件复制到JRE安装位置,重新安装JDK和JRE,检查环境变量的路径。什么都没用。
除以下例外情况外,它返回
info Starting JS server...
info Building and installing the app on the device (cd android && gradlew.bat app:installDebug)...
Starting a Gradle Daemon, 1 stopped Daemon could not be reus
我遵循了的Android/Linux。
我尝试使用react-native run-android在ubuntu下启动本机响应,但由于错误而失败:
FAILURE: Build failed with an exception.
* What went wrong:
Execution failed for task ':app:compileDebugJavaWithJavac'.
> Could not find tools.jar
我怎么才能修好它?
全部产出:
$ react-native run-android
Start
public static final JsonFactory JSON_FACTORY=GsonFactory.getDefaultInstance();
这段代码没有显示任何错误,但是当使用Gradle编译时,它给出了错误:
Error:(49, 65) error: cannot find symbol method getDefaultInstance().
Error:Execution failed for task ':app:compileDebugJavaWithJavac'.
Compilation failed; see the compiler erro
在Gradle构建失败后:在android中运行时,甚至不使用/添加任何与架构相关的组件。
(不完整)逻辑猫:
org.gradle.api.tasks.TaskExecutionException: Execution failed for task ':app:compileDebugJavaWithJavac'. at org.gradle.api.internal.tasks.execution.ExecuteActionsTaskExecuter.executeActions(ExecuteActionsTaskExecuter.java:100) at org.gr
Launching lib\main.dart on Android SDK built for x86 in debug mode...
Running Gradle task 'assembleDebug'...
FAILURE: Build failed with an exception.
* What went wrong:
Execution failed for task ':app:compileDebugJavaWithJavac'.
> Could not create service of type DefaultUserHome
我遵循下面的指南来安装Cordova和ReactJS:
这行得通!
但是,当我想在Cordova中使用firebase时,就像文档中解释的那样,在安装步骤6中解释的插件后,我得到了这些错误。
当我运行"cordova run android“时,这是我得到的输出:
Successfully built!
<universal-links> tag is not set in the config.xml. Universal Links plugin is not going
to work.
Checking Java JDK and Android SDK versi
在将studio更新到2.1.2之后,类路径更新为classpath 'com.android.tools.build:gradle:2.1.2‘。我的问题是,当我运行项目时,它会抛出下面的错误:
Error:Execution failed for task ':app:compileDebugJavaWithJavac'.
> java.io.FileNotFoundException: D:\abc\app\libs\jsoup-1.8.2.jar (The system cannot find the path specified)
Error:Not sure how to convert a Cursor to this method's return type
Error:Execution failed for task ':app:compileDebugJavaWithJavac'.
Compilation failed; see the compiler error output for details.
使用Room,我得到了这个错误,我想找出是哪个方法导致了这个错误。
我有多个DAO,总共大约有60个方法,这个错误是在添加了一个方法后弹出的(复制和粘贴从另一个完全工作的方法中得到,
当我重启Android的时候,我突然发现下面的错误。
我尝试了Clean Build,Rebuild,Invalidate等,但都不起作用。还关注了不同网站上给出的一些输入,以了解真正的问题。我用--scan运行编译器,得到了以下问题的详细信息。
error: cannot access Hide
class file for com.google.android.gms.common.internal.Hide not found
Note: Some input files use or override a deprecated API.
Note: Recompile with -
有人知道如何在安卓工作室中调试吗?
我的程序因异常而无法运行,
app:compilejavac.
它说要使用debug or stacktrace for more info。请帮帮我。只有当前项目运行良好的所有其他应用程序都有此错误。
The error message is that :
The error is that: /Users/hexinhao/AndroidStudioProjects/zhbj77/app/build/generated/source/r/debug/com/jikexueyuan/zhbj75/R.java:2431: 错误: 需要';'
我从"react-native-freshchat-sdk": "^2.6.4"升级到"react-native-freshchat-sdk": "^4.0.3",尝试运行android应用程序,但是构建失败了。
Compatible side by side NDK version was not found for android.ndkVersion '22.1.7171670'
> Task :app:compileDebugJavaWithJavac
> Task :app:compile
我的项目进行得很好,直到我运行了flutter clean,然后尝试在android上运行我的应用程序,在那里我得到了这个错误。
FAILURE: Build failed with an exception.
* What went wrong:
Execution failed for task ':app:compileDebugJavaWithJavac'.
> java.lang.IllegalStateException: Expected BEGIN_OBJECT but was STRING at line 1 column 1 path $
我目前正在尝试在android上构建和运行我的项目,但它总是失败。我遵循了正确设置android环境的所有说明,因为我能够让我的其他应用程序在模拟器上工作。我在这个项目上使用了React原生映射依赖项,由于某种原因,每当我运行react-native run-android时,它都会崩溃,并显示以下错误:error: constructor ActionSheetPackage in class ActionSheetPackage cannot be applied to given types; new ActionSheetPackage()
我正在使用react-native run-android命令为android构建一个react原生应用程序,并且在构建该应用程序时遇到以下错误:
info Installing the app...
> Task :react-native-async-storage_async-storage:compileDebugJavaWithJavac FAILED
Deprecated Gradle features were used in this build, making it incompatible with Gradle 7.0.
Use '--warning-mo
当试图运行react原生运行-android时,我得到了以下错误:
* What went wrong:
Execution failed for task ':app:compileDebugJavaWithJavac'.
> java.lang.NullPointerException (no error message)
我刚刚把我的操作系统更新为10.11.6。今天早上天气很好,所以我想知道可能出了什么问题。
修改client.js以向gradle命令添加-stacktrace标志没有帮助。
今天我刚刚创建了我的第一个React Native项目,但当我试图在我的avd上运行它时,就像;
react-native run-android
但它总是给出这样的结果:
info JS server already running.
info Building and installing the app on the device (cd android && ./gradlew app:installDebug)...
Starting a Gradle Daemon, 1 incompatible and 2 stopped Daemons could not be
我正在为移动应用程序创建react原生应用程序。我在构建react原生应用程序方面完全是新手。我正在使用ubuntu创建应用程序,并遵循以下链接来创建应用程序。。有谁能解决这个问题吗?
在下面的阶段,我得到了错误:
cd AwesomeProject
npx react-native run-android
我的命令行中出现错误:
All-Series:~/Projects_App/AwesomeProject$ npx react-native run-android
info Running jetifier to migrate libraries to AndroidX. You ca
Android Studio无法识别html标签,它们以红色突出显示,并显示“无法解析符号'gt‘”,并且项目无法构建。有没有人知道我能解决这个问题的确切原因和方法?我们将非常感谢您的任何意见。
下面是错误:
Configuration on demand is an incubating feature.
Incremental java compilation is an incubating feature.
:app:preBuild UP-TO-DATE
:app:preDebugBuild UP-TO-DATE
:app:checkDebugManifest
:app:pr
我有一个解析XML文件的自定义注释处理器。它在Android Studio 2.3.3中运行良好,现在我已经更新了Android Studio to version 3.0(稳定),它突然开始为注释处理器的注释抛出NoClassDefFound错误。
Error:Execution failed for task ':app:compileDebugJavaWithJavac'.
> java.lang.NoClassDefFoundError: io/github/***/annotations/****
分度
compile 'io.github.al
遵循的安装说明后,该命令将发生以下错误-本机运行-android失败:
info JS server already running.
info Building and installing the app on the device (cd android && gradlew.bat app:installDebug)...
> Task :app:compileDebugJavaWithJavac FAILED
C:\projects\veida\veida_v1\Erua3\android\app\src\main\java\com\erua3\MainAct
伙计们。我只是试着在我的笔记本电脑上安装react native。我已经遵循了所有的设置指令,但我仍然得到了这些错误。
* What went wrong:
Execution failed for task ':app:compileDebugJavaWithJavac'.
> Could not find tools.jar
我在os版本5.1.0中使用了genymotion,我已经为android_home设置了环境变量。知道我在这里怀念什么吗?
我用纱线安装Notifee包,
yarn add @notifee/react-native
在我查完之后,
yarn start
yarn run android
像这样抛出一个错误,
1: Task failed with an exception.
-----------
* What went wrong:
Execution failed for task ':notifee_react-native:compileDebugJavaWithJavac'.
我很难在中实现通知。如果有人能帮我的话我真的很感激。谢谢。
当试图将我的Android应用程序构建到APK时,生成服务器出现错误并无法生成。但是,在模拟器中,应用程序工作正常,我认为错误是由编译器创建的(它不是应用程序中的一个)。
这是错误日志:-
:compileDebugJavaWithJavac - is not incremental (e.g. outputs have changed, no
previous execution, etc.).
file or directory '/tmp/build4365298428607247775xxx/Main/src/debug/java', not found
Compi
因此,我在Android (2.3.1)中工作,并创建了一个底部导航活动,但我一直收到一个错误,说明BottomNavigationView不存在或找不到。
Error:(5, 37) error: cannot find symbol class BottomNavigationView
Error:(14, 33) error: package BottomNavigationView does not exist
Error:(15, 39) error: package BottomNavigationView does not exist
Er
Android Studio + Gradle的新手。
我试图使用以下命令行运行我的应用程序:
gradlew installDebug
只有当我刚打开Studio并执行初始同步/构建操作时,该应用程序才会安装在我的设备上。
每当我修改代码并再次运行该命令时,构建都会失败,并显示以下错误:
Execution failed for task ':app:compileDebugJavaWithJavac'
> Could not find tools.jar
我该如何解决这个问题?提前谢谢。
当我想使用cmd -> 离子电容器在android上运行我的离子型应用程序时,我会遇到以下错误:构建android可以教我如何解决以下错误,这样我就可以在android上运行我的应用程序。谢谢。
FAILURE: Build failed with an exception.
* What went wrong:
Execution failed for task ':capacitor-android:compileDebugJavaWithJavac'.
> Failed to query the value of task ':capacitor-a