Wayback Machinekoobas.hobune.stream
May JUN Jul
Previous capture 13 Next capture
2021 2022 2023
1 capture
13 Jun 22 - 13 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
1
Question by guiller-c-ramos · Jun 25, 2015 at 12:52 PM · androiderrorunity analyticsunity android

Unity Analytics Compile Error on Android

Hi i wanted to try the new unity analytics beta but when i try to compile it for android it shows this error "Assets/Plugins/UnityAnalytics/AndroidWrapper.cs(9,41): error CS0246: The type or namespace name `BasePlatformWrapper' could not be found. Are you missing a using directive or an assembly reference?" ive tried searching but i cant seem to find an actual answer. ive already followed the instructions here http://www.infoq.com/news/2015/01/unity-analytics-launched that an initializer script should be attached to an object but it dosent seem to fixed the compile error

additionally the pop up window Unity Analytics SDK keeps on popping up even ive already integrated it on my project (i knew it was integrated already because it already detected my computer on unity analytics site)

alt text

capture.png (63.3 kB)
capturee.png (203.2 kB)
Comment
Add comment · Show 1
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 guiller-c-ramos · Jun 26, 2015 at 02:12 AM 0
Share

ive already followede the tutorial from this site https://analytics.cloud.unity3d.com/docs still having issues like indicated above.

3 Replies

· Add your reply
  • Sort: 
avatar image
4

Answer by AxelMG · Jan 12, 2016 at 10:40 PM

You can go to PlatformWrapper.cs line 6 and add: || UNITY_5_3

This fixed the issue for me. Looks like they forgot to add 5.3 to the list.

Comment
Add comment · Show 2 · 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 Seye-Gamsole · Feb 11, 2016 at 01:50 PM 0
Share

This solved the issue for me. I immediately knew it would since the last version I used for my previous build was 5.1. I could say its a bit psychic that you knew the current version of Unity I was using.

Anyways just put the "|| WHATEVER UNITY VERSION" your using,. But really if anyone else finds this you should upgrade your Analytics following the doc, unless your only using a higher version like 5.2 and above temporarily.

avatar image DipeshKandel2016 · Nov 23, 2017 at 11:36 AM 0
Share

same error came on 5.6.2 and added || UNITY_5_6 it worked thanks...

avatar image
1

Answer by digifyph · Jul 01, 2015 at 10:43 AM

'BasePlatformWrapper' can be found inside PlatformWrapper.cs

I hope this helps.

Comment
Add comment · 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
0

Answer by sschan · Jul 07, 2015 at 05:11 PM

Please review/follow the upgrade instructions and it should resolve the issues you are experiencing - http://forum.unity3d.com/threads/upgrade-instructions-from-4-x-5-0-5-1.327433/

If you are still experiencing issues, please start a thread on Analytics Forum - http://forum.unity3d.com/forums/unity-analytics-beta.81/

Comment
Add comment · 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

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

8 People are following this question.

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

Related Questions

Unity Android Inputs With Samsung Galaxy Ace 0 Answers

Connect Andorid Phone and get error 1 Answer

Make sphere shoot to Touch.position error 1 Answer

Unity Editor & iOS - Download MP4 to Streaming Assets Folder 0 Answers

errors building on android 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