You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
When i integrate with existing apps in android , the image cannot show,instead errors.
The android project is just a simplest project generated by Android studio through the start a new Android studio project option.
i just follow the steps in document. http://facebook.github.io/react-native/docs/integration-with-existing-apps.html
i don't know whether there are some bugs in react native ? or somthing goes wrong in my project?
Additional Information
React version: 15.4.2
React Native version: 0.42.3
Platform: [FILL THIS OUT: Android]
Development Operating System: [MacOS]
Dev tools: targetSdkVersion 23
The text was updated successfully, but these errors were encountered:
woshi82
changed the title
image cannot show when integration with existing apps in android
image can't show when integrate with existing apps in android
Mar 29, 2017
Description
When i integrate with existing apps in android , the image cannot show,instead errors.
The android project is just a simplest project generated by
Android studio
through thestart a new Android studio project
option.i just follow the steps in document. http://facebook.github.io/react-native/docs/integration-with-existing-apps.html
Reproduction Steps and Sample Code
follow the steps in document.
run command below in my terminal
npm start
./gradlew installDebug
it shows:
try the method provided in Error on load image on React-native: Unexpected character #6691 ,but nothing worked.
method 1:
watchman watch-del-all
then restart my packager with the --resetCache optionmethod 2:
restart my editor、genymotion many times
so i delete the code in
NavigationHeaderBackButton.js
the app start successfully.
added some image in
index.android.js
. (certainly, have addedavatar.png
in my project folder).the image still can't show.
Solution
i just searched in stackoverflow
http://stackoverflow.com/questions/42120879/react-native-integration-with-existing-apps-and-images
but didn't find the solution.
i don't know whether there are some bugs in react native ? or somthing goes wrong in my project?
Additional Information
The text was updated successfully, but these errors were encountered: