Wayback Machinekoobas.hobune.stream
May JUN Jul
Previous capture 13 Next capture
2021 2022 2023
2 captures
13 Jun 22 - 14 Jun 22
sparklines
Close Help
  • 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 hollym16 · Sep 04, 2014 at 10:23 AM · androidgameobjectvuforiaobb

You may not have purchased this app (OBB Expansion Files)

I apologise if this has already been answered but I've been getting confused with all the posts relating to this.

So I used the tutorial found here: http://www.exoa.fr/tutorial-unity-4-apk-splitting-google-play-obb/#comment-180

I had a bit of trouble with it to begin with, saying 'Resources cannot be found' but I think that was due to me incorrectly merging the AndroidManifest. Once this was fixed, I re-uploaded the APK and OBB (with correct Public Key) and waited overnight to test it, to make sure time wasn't an issue. Now when I open the app, it says 'Download failed because you may not have purchased this app'. I also made sure my email address has testing access and the licence test response is set to 'LICENSED'.

A couple of other things:

  • Version number is set to 1

  • I renamed my OBB and Bundle Identifier (In the Inspector) 'main.[VERSION.NUMBER].com.[COMPANY.NAME].[BUNDLE.ID].obb'

  • My app name is the same as the name on the Google Developer Console

  • I am using the Vuforia plugin

  • My AndroidManifest (once merged) looks like this:

    http://schemas.android.com/apk/res/android" package="com.qualcomm.QCARUnityPlayer" android:versionCode="1" android:versionName="1.0">

       <application
             android:icon="@drawable/app_icon"
             android:label="@string/app_name"
             android:theme="@android:style/Theme.NoTitleBar.Fullscreen"
             android:debuggable="false">
             <activity android:name="com.qualcomm.QCARUnityPlayer.QCARPlayerProxyActivity"
                       android:label="@string/app_name"
                       android:configChanges="fontScale|keyboard|keyboardHidden|locale|mnc|mcc|navigation|orientation|
    

screenLayout|screenSize|smallestScreenSize|uiMode|touchscreen">

     </application>
     <uses-permission android:name="com.android.vending.CHECK_LICENSE" />
     <uses-permission android:name="android.permission.INTERNET" />
     <uses-permission android:name="android.permission.WAKE_LOCK" />
     <uses-permission android:name="android.permission.ACCESS_NETWORK_STATE" />
     <uses-permission android:name="android.permission.ACCESS_WIFI_STATE"/>
     <uses-permission android:name="android.permission.WRITE_EXTERNAL_STORAGE" />
 </manifest>
 
 <!-- android:installLocation="preferExternal" -->



I think thats about all the information I can muster. Can anyone have a crack at this? It would be greatly appreciated.

(Here's a screenshot of my AndroidManifest, as it doesn't format properly when copied and pasted)

alt text

android-manifest-example.png (286.8 kB)
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

1 Reply

· Add your reply
  • Sort: 
avatar image
0
Best Answer

Answer by HarshadK · Sep 04, 2014 at 12:43 PM

Here are few things to check:

  • You must publish your application in either alpha or beta distribution channel. As per APK Expansion Files documentation:

    Previously you could test an app by uploading an unpublished "draft" version. This functionality is no longer supported; instead, you must publish it to the alpha or beta distribution channel.

  • Also check that you have set your version number to be 1.0 as it is specified in your menifest. In description above you have specified that 'Version number is set to 1'.

  • And sometimes you need to wait for longer than a night for files to propogate and being able to download.

Comment
Add comment · Show 4 · Share
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
avatar image hollym16 · Sep 04, 2014 at 01:01 PM 0
Share

Thanks very much for this! I'd read something previously about publishing it through Alpha or Beta but only ever saw it referenced once so didn't know if it was legit. This must be a recent thing as I'd tried with Expansion files about a year ago and you didn't have to do this. I shall give this a try then and see what happens, fingers crossed!

avatar image HarshadK · Sep 04, 2014 at 01:05 PM 0
Share

Here's a link to start with:

alpha or beta distribution channels

avatar image hollym16 · Sep 04, 2014 at 01:22 PM 0
Share

Thanks, thats very helpful. Just a quick question to prevent me learning the hard way: in the tutorial link in my question, he says to rename your obb 'main.[VERSION.NU$$anonymous$$BER].com.[CO$$anonymous$$PANY.NA$$anonymous$$E].[BUNDL$$anonymous$$ID].obb'; in my project build settings i named the Bundle Identifier the same. But now when I upload the .AP$$anonymous$$, it says 'Your AP$$anonymous$$ needs to have the package name 'com.[CO$$anonymous$$PANYNA$$anonymous$$E].[BUNDLEID]' Does this apply to the .obb and/or the Bundle Identifier? Thanks again

avatar image HarshadK · Sep 04, 2014 at 02:09 PM 0
Share

It applies to both the obb and bundle identifier.

The format for obb is: [main|patch].[VERSION.NU$$anonymous$$BER].com.[CO$$anonymous$$PANY.NA$$anonymous$$E].[BUNDL$$anonymous$$ID]

And for bundle identifier: com.[CO$$anonymous$$PANY.NA$$anonymous$$E].[BUNDL$$anonymous$$ID]

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.

Follow this Question

Answers Answers and Comments

23 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 avatar image avatar image

Related Questions

Scripting error message 1 Answer

Using OBB Expansion Files with Vuforia 1 Answer

New process for OBB Expansion Files 2 Answers

Extracting Dataset (AR) from OBB (Expansion Files) 1 Answer

print out the value (string) of the URL passed to the WWW in the google console 0 Answers


Enterprise
Social Q&A

Social
Subscribe on YouTube social-youtube Follow on LinkedIn social-linkedin Follow on Twitter social-twitter Follow on Facebook social-facebook Follow on Instagram social-instagram

Footer

  • Purchase
    • Products
    • Subscription
    • Asset Store
    • Unity Gear
    • Resellers
  • Education
    • Students
    • Educators
    • Certification
    • Learn
    • Center of Excellence
  • Download
    • Unity
    • Beta Program
  • Unity Labs
    • Labs
    • Publications
  • Resources
    • Learn platform
    • Community
    • Documentation
    • Unity QA
    • FAQ
    • Services Status
    • Connect
  • About Unity
    • About Us
    • Blog
    • Events
    • Careers
    • Contact
    • Press
    • Partners
    • Affiliates
    • Security
Copyright © 2020 Unity Technologies
  • Legal
  • Privacy Policy
  • Cookies
  • Do Not Sell My Personal Information
  • Cookies Settings
"Unity", Unity logos, and other Unity trademarks are trademarks or registered trademarks of Unity Technologies or its affiliates in the U.S. and elsewhere (more info here). Other names or brands are trademarks of their respective owners.
  • Anonymous
  • Sign in
  • Create
  • Ask a question
  • Spaces
  • Default
  • Help Room
  • META
  • Moderators
  • Explore
  • Topics
  • Questions
  • Users
  • Badges