• Products
  • Solutions
  • Made with Unity
  • Learning
  • Support & Services
  • Community
  • Asset Store
  • Get Unity

UNITY ACCOUNT

You need a Unity Account to shop in the Online and Asset Stores, participate in the Unity Community and manage your license portfolio. Login Create account
  • Blog
  • Forums
  • Answers
  • Evangelists
  • User Groups
  • Beta Program
  • Advisory Panel

Navigation

  • Home
  • Products
  • Solutions
  • Made with Unity
  • Learning
  • Support & Services
  • Community
    • Blog
    • Forums
    • Answers
    • Evangelists
    • User Groups
    • Beta Program
    • Advisory Panel

Unity account

You need a Unity Account to shop in the Online and Asset Stores, participate in the Unity Community and manage your license portfolio. Login Create account

Language

  • Chinese
  • Spanish
  • Japanese
  • Korean
  • Portuguese
  • Ask a question
  • Spaces
    • Default
    • Help Room
    • META
    • Moderators
    • Topics
    • Questions
    • Users
    • Badges
  • Home /
avatar image
0
Question by 8r3nd4n · Jun 17, 2015 at 01:50 AM · buildxmlapkediting

Change android version number after build

I have an issue that is causing me huge headaches at the moment (well, this whole project has. Ha).

What has happened is that I built a new version (Version 4) of our app. In the build settings, I put 4 for the version number and 4 for the bundle version and 4 for the bundle version code. When trying to upload to Google Play, we get an error that the bundle code needs to be higher than 301 (since our last bundle code version was an incremental update). I just forgot that I should have put 400 in instead of just 4.

The problem is that since the build our project has broke. All I need to do is change this bundle version number. I know you can do it by editing the extracted .xml file but it's in jibberish somewhat:

 Ð\
 ?(BdpŒªÆäü.>NtŒª¸Ìê(:’–¨Ü$JPXv’Äè
 DzÌ"<P¬ÊÚ&j€¶Hd|ÖP¢    themeversionNameversionCodeinstallLocationnamesmallScreens
 normalScreenslargeScreens
 xlargeScreens
 anyDensityiconlabel
 debuggableisGamebannerscreenOrientation
 launchMode
 configChangesvaluerequired
 minSdkVersiontargetSdkVersionglEsVersionandroid*http://schemas.android.com/apk/res/androidpackageplatformBuildVersionCodeplatformBuildVersionNamemanifestcom.surprisecakes4.022
 5.1.1-1819727uses-featureandroid.hardware.camerasupports-screensuses-permissionandroid.permission.INTERNETandroid.permission.CAMERA'android.permission.ACCESS_NETWORK_STATE)android.permission.WRITE_EXTERNAL_STORAGEapplicationactivity,com.unity3d.player.UnityPlayerNativeActivity
 intent-filteractionandroid.intent.action.MAINcategory android.intent.category.LAUNCHER    meta-dataunityplayer.UnityActivity'unityplayer.ForwardNativeEventsToDalvikcom.unity3d.player.VideoPlayeruses-library
 com.ti.s3duses-sdk!android.hardware.camera.autofocusandroid.hardware.camera.frontandroid.hardware.touchscreen'android.hardware.touchscreen.multitouch0android.hardware.touchscreen.multitouch.distinctandroid.permission.WAKE_LOCK€d·„…†¿lôò$Žpÿÿÿÿ°ÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿ ÿÿÿÿ!!8ÿÿÿÿÿÿÿÿ"##ÿÿÿÿÿÿÿÿ"ˆÿÿÿÿÿÿÿÿ$    ÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿ$8ÿÿÿÿÿÿÿÿ%&&ÿÿÿÿÿÿÿÿ%8ÿÿÿÿÿÿÿÿ%''ÿÿÿÿÿÿÿÿ%8ÿÿÿÿÿÿÿÿ%((ÿÿÿÿÿÿÿÿ%8ÿÿÿÿÿÿÿÿ%))ÿÿÿÿÿÿÿÿ%œ    ÿÿÿÿÿÿÿÿ*ÿÿÿÿÿÿÿÿ
 ÿÿÿÿÿÿÿÿÿÿÿÿ
 ÿÿÿÿˆ
 ÿÿÿÿÿÿÿÿ+ÿÿÿÿ,,ÿÿÿÿÿÿÿÿÿÿÿÿÿ@$ÿÿÿÿÿÿÿÿ-8ÿÿÿÿÿÿÿÿ.//ÿÿÿÿÿÿÿÿ.8
 ÿÿÿÿÿÿÿÿ011
 ÿÿÿÿÿÿÿÿ0ÿÿÿÿÿÿÿÿ-Lÿÿÿÿÿÿÿÿ233ÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿ2Lÿÿÿÿÿÿÿÿ244ÿÿÿÿÿÿÿÿÿÿÿÿ2ÿÿÿÿÿÿÿÿ+tÿÿÿÿÿÿÿÿ+ÿÿÿÿ55ÿÿÿÿÿÿÿÿÿ@ÿÿÿÿÿÿÿÿ+Lÿÿÿÿÿÿÿÿ677ÿÿÿÿÿÿÿÿÿÿÿÿ6ÿÿÿÿÿÿÿÿ*Lÿÿÿÿÿÿÿÿ8ÿÿÿÿ    ÿÿÿÿÿÿÿÿÿÿÿÿ88ÿÿÿÿÿÿÿÿ"ÿÿÿÿÿÿÿÿÿÿÿÿ"Lÿÿÿÿÿÿÿÿ"99ÿÿÿÿÿÿÿÿÿÿÿÿ"Lÿÿÿÿÿÿÿÿ"::ÿÿÿÿÿÿÿÿÿÿÿÿ"Lÿÿÿÿÿÿÿÿ";;ÿÿÿÿÿÿÿÿÿÿÿÿ"L ÿÿÿÿÿÿÿÿ"<<ÿÿÿÿ ÿÿÿÿÿÿÿÿ"L!ÿÿÿÿÿÿÿÿ"==ÿÿÿÿ!ÿÿÿÿÿÿÿÿ"8"ÿÿÿÿÿÿÿÿ%>>"ÿÿÿÿÿÿÿÿ%#ÿÿÿÿÿÿÿÿ#ÿÿÿÿ


Does anyone know the place where I can change this or know of a way to do so? I don't fancy the alternative of having to rebuild a lot of the game again. I tried building a broken version of the app with the updated version setting but when I tried to install it I get a parsing error on my device.

Thanks

Comment
Add comment
10 |3000 characters needed characters left characters exceeded
▼
  • Viewable by all users
  • Viewable by moderators
  • Viewable by moderators and the original poster
  • Advanced visibility
Viewable by all users

0 Replies

· Add your reply
  • Sort: 

Your answer

Hint: You can notify a user about this post by typing @username

Up to 2 attachments (including images) can be used with a maximum of 524.3 kB each and 1.0 MB total.

Welcome to Unity Answers

The best place to ask and answer questions about development with Unity.

To help users navigate the site we have posted a site navigation guide.

If you are a new user to Unity Answers, check out our FAQ for more information.

Make sure to check out our Knowledge Base for commonly asked Unity questions.

If you are a moderator, see our Moderator Guidelines page.

We are making improvements to UA, see the list of changes.



Follow this Question

Answers Answers and Comments

21 People are following this question.

avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image

Related Questions

How can I disable multitouch required=true in Andriod manifest file 1 Answer

Distribute terrain in zones 3 Answers

Load XML into TextAsset without Resources.Load() - Build problem 1 Answer

How to reduce the Included DLLs size for Android? 1 Answer

Canvas not de-activated when played in APK (works in unity editor) 0 Answers

  • Anonymous
  • Sign in
  • Create
  • Ask a question
  • Spaces
  • Default
  • Help Room
  • META
  • Moderators
  • Explore
  • Topics
  • Questions
  • Users
  • Badges