I am getting following error at run time as well as build clean time
Error:com.android.builder.dexing.DexArchiveBuilderException:
Failed to process F:\bkp\projectname\app\build\intermediates\transforms\instantRunSlicer\debug\9
Related
Im getting the following error after running yarn run android:
* What went wrong:
Execution failed for task ':stripe_stripe-react-native:compileDebugKotlin'.
> A failure occurred while executing org.jetbrains.kotlin.compilerRunner.GradleCompilerRunnerWithWorkers$GradleKotlinCompilerWorkAction
> Compilation error. See log for more details
i had to update #stripe/stripe-react-native because mi app was getting an error in the new xcode 14, my app is running well in ios, but in android im getting this error, please i need help...
i tried workarounds but didnt work
When I am running react-native run-android it says :
FAILURE: Build failed with an exception.
* What went wrong:
Could not update time stamp for /home/userName/Desktop/hello-world/android/.gradle/4.10.2/gc.properties
Upon running --stacktrace, it shows :
* Exception is:
org.gradle.api.UncheckedIOException: Could not update time stamp for /home/userName/Desktop/hello-world/android/.gradle/4.10.2/gc.properties.
What can be the possible reason of this? I searched it a lot but failed to find a solution.
Solved. I deleted gc.properties and then gave all permissions to my react-native project. Main problem was related to permissions.
I run my android project, everything is correct and an error comes to say execution failed for task as shown on details.
Details :
Error:Execution failed for task ':app:buildInfoDebugLoader'. > Exception while doing past iteration backup : Source C:\Users\Abdulwahid\AndroidStudioProjects\More1Activity\app\build\intermediates\builds\debug\13727462725703\classes.dex and destination C:\Users\Abdulwahid\AndroidStudioProjects\More1Activity\app\build\intermediates\builds\debug\13727462725703\classes.dex must be different
It just need to rebuild the project.
I am try to build android apps but while creating apps my build failed with following errors.
D:\ibm\AnywhereWorkManager\build.xml:87: The following error occurred
while executing this line:
D:\ibm\AnywhereWorkManager\anywhere-apps-builder.xml:720: The
following error occurred while executing this line:
D:\ibm\AnywhereWorkManager\anywhere-apps-builder.xml:716: Failed
building application:
com.worklight.builder.exception.WorklightBuildException:
java.io.IOException: Unable to delete directory
D:\ibm\AnywhereWorkManager\apps\WorkApproval\android\native\assets\www\default\dojo\cldr\nls\zh-hans-mo.
at
org.apache.tools.ant.ProjectHelper.addLocationToBuildException(ProjectHelper.java:551)
I know this answer might seem obvious, but if you have any of the files mentioned in the failure (D:\ibm\AnywhereWorkManager\apps\WorkApproval\android\native\assets\www\default\dojo\cldr\nls\zh-hans-mo)
open ( commandline, eclipse, other editor), this will cause the issue.
I'm trying to get the back button to go to the home screen and keep the app open in the background but I can't seam to find out how to do it.
I have tried creating a plugin using Dpa99c's answer here but I a. don't know where to put the java class before compiling and b. no matter where I try I just keep getting errors.
[phonegap] compiling Android...
[error] An error occurred while building the android project.Error executing "ant debug -f ".../phone/news/platforms/android/build.xml"":
BUILD FAILED
.../android-sdk-linux/tools/ant/build.xml:720: The following error occurred while executing this line:
.../android-sdk-linux/tools/ant/build.xml:734: Compile failed; see the compiler error output for details.
Total time: 6 seconds