question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

Failed to process /Users/apple/.gradle/caches/transforms-2/files-2.1/xxx/jars/classes.jar

See original GitHub issue

After the integration of react-native-device-info, the cloud will report an error. How can I solve it?

Environment:
system: android 
react-native-cli: 2.0.1
react-native: 0.61.2
"react-native-device-info": "^5.2.1"

image

Issue Analytics

  • State:closed
  • Created 4 years ago
  • Comments:5

github_iconTop GitHub Comments

1reaction
HHuiHaocommented, Nov 11, 2019
error Failed to install the app. Make sure you have the Android development environment set up: https://facebook.github.io/react-native/docs/getting-started.html#android-development-environment. Run CLI with --verbose flag for more details.
Error: Command failed: ./gradlew app:installDebug -PreactNativeDevServerPort=8081
注: /Users/apple/Desktop/xxx/node_modules/react-native-device-info/android/src/main/java/com/learnium/RNDevicNDeviceModule.java Used or overridden obsolete APIs
0reactions
mikehardycommented, Jul 16, 2020

If you can reproduce with the example app, the module has a problem, if you cannot, your project has a problem. My bet is your project has a problem @sksinghdev My guess is out of date software, why such an old gradle, for instance?

Read more comments on GitHub >

github_iconTop Results From Across the Web

Jar error when deploying from react native for Android
I am trying do deploy my app and build an APK, but I always get the following error: Execution ...
Read more >
Viewing the Contents of a JAR File
The f option indicates that the JAR file whose contents are to be viewed is specified on the command line. The jar-file argument...
Read more >
PI89708: THE LOG4J-API-2.9.1.JAR CONTAINS CLASSES ...
Error description. The log4j-api-2.9.1.jar contains classes under the META-INF directory. These classes cause an exception during application start.
Read more >
Transforming dependency artifacts on resolution
For example, unzipping a JAR transforms the artifact of the java-api,jars variant into the java-api,classes variant. Such a transformation is called Artifact ...
Read more >
Question: Using 3rd party jar files in custom scripting
Embedded message: Error Executing Data Process; Caused by: javax.script. ... startup failed, Script14.groovy: 1: unable to resolve class net.sf.saxon.
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found