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

fix crash bug of build-tool v21 #57

Merged
merged 1 commit into from May 23, 2015
Merged

fix crash bug of build-tool v21 #57

merged 1 commit into from May 23, 2015

Conversation

pcqpcq
Copy link
Contributor

@pcqpcq pcqpcq commented Nov 29, 2014

because with build-tool v21, there are not VersionName and VersionCode in AndroidManifest.xml
i just add try-catch with the fetchString() method

also, you need to change the apktool version to 2.0.0+, in this path:
~/VSProject / UmengTools / tools / apktool

you can check it out here:
https://bitbucket.org/iBotPeaches/apktool/downloads

or, you can specify the build-tool below v21
check it out here:
https://developer.android.com/tools/revisions/build-tools.html

because with build-tool v21, there are not VersionName and VersionCode in AndroidManifest.xml
i just add try-catch with the fetchString() method
ntop001 added a commit that referenced this pull request May 23, 2015
fix crash bug of build-tool v21
@ntop001 ntop001 merged commit b0e53e6 into umeng:master May 23, 2015
@pcqpcq pcqpcq deleted the patch-1 branch May 24, 2015 14:49
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

Successfully merging this pull request may close these issues.

None yet

2 participants