Wayback Machinekoobas.hobune.stream
May JUN Jul
Previous capture 12 Next capture
2021 2022 2023
1 capture
12 Jun 22 - 12 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 /
  • Help Room /
avatar image
0
Question by NGR78 · Oct 18, 2016 at 01:16 PM · resourcesandroidplugin

raw folder and files can not be found after build

i'm trying to create a plugin for android , I wrote android codes with eclipse and created .jar file and I put .jar file and libraries in android folder in plugins and I wrote my codes in unity to start activity in android , my codes work fine in eclipse but when I build my project in unity and run it I get this error in start activity :

 10-12 18:51:31.956: W/ResourceType(3042): No package identifier when getting value for resource number 0x00000000
    10-12 18:51:31.956: W/System.err(3042): android.content.res.Resources$NotFoundException: Resource ID #0x0
 10-12 18:51:31.956: D/StatusBar.MSimNetworkController(1192): refreshViews connected={ wifi } phoneId = 0 level=4 mMSimcombinedSignalIconId=0x7f0202f8/com.android.systemui:drawable/stat_sys_wifi_signal_4 mMSimcombinedActivityIconId=0x7f0202cb mAirplaneMode=false mMSimDataActivity=0 mMSimPhoneSignalIconId=0x7f0202c1/com.android.systemui:drawable/stat_sys_signal_dark_4_auto_rotate mMSimDataDirectionIconId=0x0 mMSimDataSignalIconId=0x7f0202c1 mMSimDataTypeIconId=0x0/(null) mNoMSimIconId=0x0/(null) mMSimMobileActivityIconId=0x0/(null) mWifiIconId=0x7f0202f8 mBluetoothTetherIconId=0x7f0202d5 mRoamingIconId=0x 0/(null) mSimEnabled=true
 10-12 18:51:31.956: D/STATUSBAR-WifiQuickSettingButton(1192): onWifiSignalChanged enabled=true enabledDesc:"NG"
 10-12 18:51:31.956: W/System.err(3042):     at android.content.res.Resources.getValue(Resources.java:1542)
 10-12 18:51:31.956: W/System.err(3042):     at android.content.res.Resources.openRawResource(Resources.java:1457)
 10-12 18:51:31.956: W/System.err(3042):     at android.content.res.Resources.openRawResource(Resources.java:1434)


after I saw my apk I couldn't find raw folder and res files that I entered in unity , my project files in unity showed in image : alt text res folder after build : alt text res folder exist in unity editor but not exist in apk file , how can I make res and raw folder be build ? sorry for my weak English

10-18-2016-4-28-36-pm.jpg (18.5 kB)
10-18-2016-4-34-00-pm.jpg (14.9 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

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.

Follow this Question

Answers Answers and Comments

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

Related Questions

How can I make my Android Library Plugin (.aar) resources folder accessible so that anyone using it can easily modify or include their own drawables resources? 0 Answers

How to override string resources of other android plugins in Unity 0 Answers

How to start coding with AssetPostprocessor? 1 Answer

What is "Update.ScriptRunBehaviourUpdate"? 0 Answers

Resources.Load() doesn't work unless load path is hard coded. 1 Answer


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