-
-
Notifications
You must be signed in to change notification settings - Fork 136
Implement custom build step for ant to generate metadata #47
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
Comments
teobugslayer
added a commit
to NativeScript/nativescript-cli
that referenced
this issue
Apr 1, 2015
Instead, the project template will supply a custom ants hook to do the work Also, cache the platformData Also, starting ant through the user command interpreter falling back to cmd See NativeScript/android#47
teobugslayer
added a commit
to NativeScript/nativescript-cli
that referenced
this issue
Apr 1, 2015
Instead, the project template will supply a custom ants hook to do the work Also, cache the platformData Also, starting ant through the user command interpreter falling back to cmd See NativeScript/android#47
teobugslayer
added a commit
to NativeScript/nativescript-cli
that referenced
this issue
Apr 1, 2015
Instead, the project template will supply a custom ants hook to do the work Also, cache the platformData Also, starting ant through the user command interpreter falling back to cmd See NativeScript/android#47
teobugslayer
added a commit
to NativeScript/nativescript-cli
that referenced
this issue
Apr 1, 2015
Instead, the project template will supply a custom ants hook to do the work Also, cache the platformData Also, starting ant through the user command interpreter falling back to cmd See NativeScript/android#47
teobugslayer
added a commit
to NativeScript/nativescript-cli
that referenced
this issue
Apr 6, 2015
Instead, the project template will supply a custom ants hook to do the work Also, cache the platformData Also, starting ant through the user command interpreter falling back to cmd See NativeScript/android#47
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
The runtime expects a pre-built metadata as part of the application package. This metadata is currently manually updated in the test application. Additionally, at CLI level, we run the ant build twice to ensure proper metadata and then to embed it in the application package.
To resolve this, we should:
-post-compile
hook in ant.<uses-sdk android:minSdkVersion="17" android:targetSdkVersion="21" />
information available in the AndroidManifest.xml (we should be able to retrieve this from ant's variables) to get the proper Android.jar version.Once this is done, we will use the same logic at CLI level to ensure the proper metadata, depending on the minimum targeted Android API level.
The text was updated successfully, but these errors were encountered: