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

[BUG] Compatibility issue for android 16 #22294

Closed
gengjiawen opened this issue Nov 15, 2018 · 1 comment
Closed

[BUG] Compatibility issue for android 16 #22294

gengjiawen opened this issue Nov 15, 2018 · 1 comment
Labels
Platform: Android Android applications. Resolution: Locked This issue was locked by the bot.

Comments

@gengjiawen
Copy link
Contributor

Introduced in e02a154.
stacktrace

11-15 22:34:01.684 1965-1982/? E/AndroidRuntime: FATAL EXCEPTION: AsyncTask #1
    java.lang.RuntimeException: An error occured while executing doInBackground()
        at android.os.AsyncTask$3.done(AsyncTask.java:299)
        at java.util.concurrent.FutureTask$Sync.innerSetException(FutureTask.java:273)
        at java.util.concurrent.FutureTask.setException(FutureTask.java:124)
        at java.util.concurrent.FutureTask$Sync.innerRun(FutureTask.java:307)
        at java.util.concurrent.FutureTask.run(FutureTask.java:137)
        at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1076)
        at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:569)
        at java.lang.Thread.run(Thread.java:856)
     Caused by: java.lang.NoClassDefFoundError: java.nio.charset.StandardCharsets
        at com.facebook.react.modules.systeminfo.AndroidInfoHelpers.getMetroHostPropValue(AndroidInfoHelpers.java:87)
        at com.facebook.react.modules.systeminfo.AndroidInfoHelpers.getServerIpAddress(AndroidInfoHelpers.java:61)
        at com.facebook.react.modules.systeminfo.AndroidInfoHelpers.getServerHost(AndroidInfoHelpers.java:39)
        at com.facebook.react.packagerconnection.PackagerConnectionSettings.getDebugServerHost(PackagerConnectionSettings.java:42)
        at com.facebook.react.packagerconnection.JSPackagerClient.<init>(JSPackagerClient.java:77)
        at com.facebook.react.devsupport.DevServerHelper$1.doInBackground(DevServerHelper.java:194)
        at com.facebook.react.devsupport.DevServerHelper$1.doInBackground(DevServerHelper.java:151)
        at android.os.AsyncTask$2.call(AsyncTask.java:287)
        at java.util.concurrent.FutureTask$Sync.innerRun(FutureTask.java:305)
        at java.util.concurrent.FutureTask.run(FutureTask.java:137) 
        at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1076) 
        at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:569) 
        at java.lang.Thread.run(Thread.java:856) 
@gengjiawen
Copy link
Contributor Author

pr #22295.

t-nanava pushed a commit to microsoft/react-native-macos that referenced this issue Jun 17, 2019
…acebook#22295)

Summary:
Fix compatibility issue for android 16 device. Related issue facebook#22295.
pass all current ci.
none
 [GENERAL] [ANDROID] [Fixed] - Fix compatibility issue for android 16 device
Pull Request resolved: facebook#22295

Differential Revision: D13084152

Pulled By: hramos

fbshipit-source-id: 42459ddc6f84f870affdda5ba19bcd8bb27b56d7
@facebook facebook locked as resolved and limited conversation to collaborators Nov 15, 2019
@react-native-bot react-native-bot added the Resolution: Locked This issue was locked by the bot. label Nov 15, 2019
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
Platform: Android Android applications. Resolution: Locked This issue was locked by the bot.
Projects
None yet
Development

No branches or pull requests

2 participants