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

Initial "start" branch build #9

Closed
harvzor opened this issue Sep 18, 2015 · 2 comments
Closed

Initial "start" branch build #9

harvzor opened this issue Sep 18, 2015 · 2 comments

Comments

@harvzor
Copy link

harvzor commented Sep 18, 2015

If I pull down this repo and "tns run android" (with Geny up and running), the master version of this sample app builds correctly and launches on the Geny emulator.

However, if I checkout the "start" branch and "tns run android", I get the following error:

:mergeDebugResources
AAPT out(83457444) : No Delegate set : lost message:Done
AAPT err(83457444): ERROR: 9-patch image C:\Dev\Apps\NativeScript\First\sample-Groceries\platforms\android\src\main\res\drawable-nodpi\splashscreen.9.png malformed.
:mergeDebugResources FAILED
AAPT err(83457444):        No marked region found along edge.
AAPT err(83457444):        Found along top edge.

FAILURE: Build failed with an exception.

* What went wrong:
Execution failed for task ':mergeDebugResources'.
> Crunching Cruncher splashscreen.9.png failed, see logs

To get the build to be successful, I can:

  • Checkout "master"
  • Copy splashscreen.9.png from \app\App_Resources\Android\drawable-nodpi somewhere
  • Checkout "start"
  • Replace the splashscreen.9.png with the one from the master branch
  • Run the app
  • Compiles correctly
@jlooper
Copy link
Contributor

jlooper commented Sep 18, 2015

Thank you for reporting this. I have reproduced it and swapped out the problematic asset so that now the builds should run more smoothly. Please let us know if this doesn't work for you.

@jlooper jlooper closed this as completed Sep 18, 2015
@harvzor
Copy link
Author

harvzor commented Sep 21, 2015

Thanks, app correctly built.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants