Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

No documentation for linking ART in android. #19927

Closed
sgarg24 opened this issue Jun 27, 2018 · 2 comments
Closed

No documentation for linking ART in android. #19927

sgarg24 opened this issue Jun 27, 2018 · 2 comments
Labels
Platform: Android Android applications. Ran Commands One of our bots successfully processed a command. Resolution: Locked This issue was locked by the bot.

Comments

@sgarg24
Copy link

sgarg24 commented Jun 27, 2018

Environment

OS: macOS High Sierra 10.13.5
Node: 8.11.3
Yarn: Not Found
npm: 6.1.0
Watchman: 4.9.0
Xcode: Xcode 9.4.1 Build version 9F2000
Android Studio: 3.1 AI-173.4819257

Packages: (wanted => installed)
react: 16.3.0-alpha.1 => 16.3.0-alpha.1
react-native: 0.54.0 => 0.54.0

Description

I am having errors while linking the react-native ART in android.
I found a solution at 27ac047

On react-native run-android I am getting following errors

import com.facebook.react.ARTPackage;
                         ^
  symbol:   class ARTPackage
  location: package com.facebook.react
app-path/MainApplication.java:28: error: cannot find symbol
            new ARTPackage()
                ^
  symbol: class ARTPackage
2 errors
:app:compileDebugJavaWithJavac FAILED

FAILURE: Build failed with an exception.

* What went wrong:
Execution failed for task ':app:compileDebugJavaWithJavac'.
> Compilation failed; see the compiler error output for details.

* Try:
Run with --stacktrace option to get the stack trace. Run with --info or --debug option to get more log output.

BUILD FAILED

Without linking art manually I am getting following error:
error

This works fine on IOS device but gives error on android platform.

Also Is there a proper documentation on how to link Art with android namually?

@hramos
Copy link
Contributor

hramos commented Jun 27, 2018

Can you open an issue at https://github.com/facebook/react-native-website regarding the missing ART docs?

@react-native-bot react-native-bot added the Ran Commands One of our bots successfully processed a command. label Jun 30, 2018
@react-native-bot
Copy link
Collaborator

If you are still encountering the issue described here, please open a new issue and make sure to fill out the Issue Template when doing so.

@facebook facebook locked as resolved and limited conversation to collaborators Jun 30, 2019
@react-native-bot react-native-bot added the Resolution: Locked This issue was locked by the bot. label Jun 30, 2019
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
Platform: Android Android applications. Ran Commands One of our bots successfully processed a command. Resolution: Locked This issue was locked by the bot.
Projects
None yet
Development

No branches or pull requests

4 participants