-
Notifications
You must be signed in to change notification settings - Fork 53
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
backicon.png: error: Invalid filename. Unable to add. #1
Comments
It is strange, back-button is placed within assets folder and it is exactly the same as in original NavigationExperimental... |
I had the same problem. My settings:
|
Same error, same problem, same fix. Thanks joel et. al.! |
I have the same issue on ubuntu , is there a proper way to handle this ? Changing the sources are not a proper kind of solution.. |
I just implemented my own, simple top menu bar. Made it a component. It If only I could figure out how to get the screens to stop coming from the Brian B. Canin [email protected] 858-945-5601 (cell) On Thu, Aug 4, 2016 at 5:50 AM, Florent Destremau [email protected]
|
Having the same issue
|
Had the same problem and this fixed it. Thanks a bunch! |
shoudn't we create PR for it?
i'm running it on android. |
please do 😃 |
@florentdestremau as u asked, here is the result, i created a pull request due to the issue. |
my PR has been merged @florentdestremau @joelcloralt.
|
and you have to update all the libraries or just router-flux? |
i didn't update @eppisapia . to make sure everything is correct i just remove all of my modules and install again but if u want to do update, yes u should only update router-flux, it will update its dependencies and do the minor update onn all of them . |
feat(animation): use native driver for animations
Recently I upgraded
|
@cbrevik Could you check latest master version? |
@aksonov of It has resolved |
@aksonov I've tried adding As an aside, I also get a whole lot of |
I've tried any number of combinations of earlier versions of Using a lower version than Using There's two crashing bugs for Android, that are fixed in RN |
Same here: Error log I've tried to get the latest version from
Any ideas why this backicon.png issue is still there? |
Sorry, I can't help here because I'm using only iOS. I've just upgraded to RN0.44, iOS Example now works fine (3.39.1 version) |
I guess, the file name is too long in Java. node_modules_reactnativerouterflux_node_modules_reactnative_libraries_customcomponents_navigationexperimental_assets_backicon.png So, although if the file exactly exist, gradle can't find file. If I change file name to "backicon.png" It just in my case, opinion & solution sorry for poor eng |
@eyu0415, how you do that? |
eyu0415 which png file you renamed? I am not finding the same file in my project. |
Have the same problem, is there any good solution so far? |
@eyu0415 where exactly did you change the name of that icon? in /android/app/build/intermediates/res/merged/release/drawable-mdpi/node_modules_reactnativerouterflux_node_modules_reactnavigationstack_dist_views_assets_backiconmask.png ? |
Thanks @leonardokl same workaround worked to me. |
I know that I missed |
There seems to be an issue with the naming convention used for the back-icon.png. I got an error trying to assemble the Android app. iOS works fine.
When running
./gradlew aseembleRelease
for Android, the build fails specifically with:I'm using:
I solved the issue by changing this line in
NavigationHeaderBackButton.js
to simply userequire('./back_chevron.png')
. Then deleted theapp/build
folder and ran the aseembleRelase again and that worked. This is just a workaround so that's why I'm submitting the ticket.Here is a little bit more from the build log.
The text was updated successfully, but these errors were encountered: