acidburn0zzz / ics-openvpn

Automatically exported from code.google.com/p/ics-openvpn
1 stars 0 forks source link

Building with Android Studio produces java IOException #258

Closed GoogleCodeExporter closed 9 years ago

GoogleCodeExporter commented 9 years ago
When I build this and try to run it on my Samsung s4 I am presented with teh 
following error in the log:

 2014-06-20 17:15:22 Running on SAMSUNG-SGH-I337 (MSM8960) samsung, Android API 19, version 0.6.15, built by CN=Android Debug,O=Android,C=US
2014-06-20 17:15:24 Failed getting assets for archicture armeabi-v7a
2014-06-20 17:16:05 Unhandled exception: pievpn.armeabi-v7a

java.io.FileNotFoundException: pievpn.armeabi-v7a
at android.content.res.AssetManager.openAsset(Native Method)
at android.content.res.AssetManager.open(AssetManager.java:316)
at android.content.res.AssetManager.open(AssetManager.java:290)
at de.blinkt.openvpn.core.VPNLaunchHelper.writeMiniVPN(VPNLaunchHelper.java:27)
at de.blinkt.openvpn.core.VPNLaunchHelper.startOpenVpn(VPNLaunchHelper.java:66)
at de.blinkt.openvpn.LaunchVPN$startOpenVpnThread.run(LaunchVPN.java:287)

2014-06-20 17:19:29 Unhandled exception: pievpn.armeabi

java.io.FileNotFoundException: pievpn.armeabi
at android.content.res.AssetManager.openAsset(Native Method)
at android.content.res.AssetManager.open(AssetManager.java:316)
at android.content.res.AssetManager.open(AssetManager.java:290)
at de.blinkt.openvpn.core.VPNLaunchHelper.writeMiniVPN(VPNLaunchHelper.java:32)
at de.blinkt.openvpn.core.VPNLaunchHelper.startOpenVpn(VPNLaunchHelper.java:66)
at de.blinkt.openvpn.LaunchVPN$startOpenVpnThread.run(LaunchVPN.java:287)

2014-06-20 17:19:29 Error writing minivpn binary

It has previously worked. I am using Android Studio to build, and I think it 
quit working after Android Studio updated to version 6.

Original issue reported on code.google.com by derek.c...@gmail.com on 20 Jun 2014 at 9:21

GoogleCodeExporter commented 9 years ago
Please see the README for building ics-openvpn

Original comment by arne@rfc2549.org on 21 Jun 2014 at 9:53

GoogleCodeExporter commented 9 years ago
Hi! I read read me, but i've not understood, what I do wrong
I've installed ndk,  ran built-native.sh, opened project with Android studio, 
an got same error
My Android studio is beta 0.8.0 for OS X
Please, give me just an allusion for the way to fix it

Original comment by proskur...@gmail.com on 14 Aug 2014 at 2:55

GoogleCodeExporter commented 9 years ago
i have the same problem with my device

Original comment by pingan.z...@gmail.com on 13 Oct 2014 at 4:46

GoogleCodeExporter commented 9 years ago
I got same issue please give solution 

Original comment by noman.no...@gmail.com on 25 Nov 2014 at 2:15

GoogleCodeExporter commented 9 years ago
Make sure you run the buildnative.sh script, and check the README for building 
ics-openvpn

Original comment by derek.c...@gmail.com on 25 Nov 2014 at 2:20

GoogleCodeExporter commented 9 years ago
There was wrong paths in config files such as android.mk 
So buildnative has not ran. 

Original comment by proskur...@gmail.com on 25 Nov 2014 at 2:41