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 : res folder after build :
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
Your answer
![](https://koobas.hobune.stream/wayback/20220612094901im_/https://answers.unity.com/themes/thub/images/avi.jpg)