Skip to content
This repository was archived by the owner on Jan 3, 2026. It is now read-only.
This repository was archived by the owner on Jan 3, 2026. It is now read-only.

Please let user select the Android SDK Platform target version to build against #4

Description

@ackalker

In https://github.com/groupsky/generator-android/blob/master/app/templates/project.properties#L15 , the target Android SDK Platform version is hardcoded as "android-19", which causes a subsequent (Ant) build to fail if that target isn't available, requiring the user to either:

  • install a specific version of the Android SDK Platform
  • or else, either:
    • run android update project -t <target-id> --subprojects -p . (huh? whaddayamean?)
    • go in and edit target= in project.properties (assuming s/he knows what to put there)

I think it's better to run android list target and parse its output, and (if there are multiple versions) present the user with a choice among the versions that are actually installed on the system.

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions