• 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
Question by ChiViso · Feb 20, 2013 at 04:33 PM · androideclipseunityplayerqcar

Problem with UnityPlayer extending QCARPlayerActivity

Good afternoon everybody,

I'm trying to extend a Unity Android Activity ((that contains AR content with QCAR)) and adding my custom views in Eclipse.

I've used Unity3d 4.0 Pro Trial Version to export a project to Eclipse and force the Android tarjet to v2.2.

I've followed this guide https://developer.vuforia.com/resources/dev-guide/extending-unity-android-activity-and-adding-custom-views-eclipse.

On Unity I can generate the .APK with my own 3d model and it run perfectly in my Android device. Then, after build tha Android library based on /StartingArea folder from Unity project and build an Android project to call this library as the guide says, Elcipse show me the next errors at Run time::

02-19 17:03:58.070: W/dalvikvm(1469): ERROR: Unable to find decl for native Lcom/unity3d/player/UnityPlayer;.nativeKeysPressed:(Ljava/lang/String;)V 02-19 17:03:58.070: E/dalvikvm(1469): JNI posting fatal error: com/unity3d/player/UnityPlayer 02-19 17:03:58.070: E/dalvikvm(1469): VM aborting

Anyone can help me please?¿

This is the AndroidProject's file system ready to call the library:: https://www.dropbox.com/s/prq2jhyrh4a2wl4/androidProject.png

and this is the library project file system on Eclipse https://www.dropbox.com/s/qm9wzrr79t95kug/libProject.png

Thanks in advance.,

Comment

People who like this

0 Show 0
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

If you’re new to Unity Answers, please check our User Guide to help you navigate through our website and refer to our FAQ for more information.

Before posting, make sure to check out our Knowledge Base for commonly asked Unity questions.

Check our Moderator Guidelines if you’re a new moderator and want to work together in an effort to improve Unity Answers and support our users.

Follow this Question

Answers Answers and Comments

9 People are following this question.

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

Related Questions

No staging area folder 1 Answer

Can't run Android build in Emulator. "Unable to find native library: main" 1 Answer

Unity for Android Eclipse export 1 Answer

back button in Android Activity 1 Answer

How to use Android native video player instead of unity player 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