Michsh / ics-openvpn

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

specified for property 'jniDir' does not exist #189

Closed GoogleCodeExporter closed 9 years ago

GoogleCodeExporter commented 9 years ago
Hi 
I cloned the project but I can't compile it using Android Studio
at first I changed the relative paths in Android.mk 
(i.e include lzo/Android.mk to include <absolute path of 
project>/lzo/Android.mk)
because Windows command prompt could not find the files, in addition in Android 
Studio I added local.properties manually in root of project,after that 
everything seems OK but when I want to compile project this error arises:

Gradle: A problem was found with the configuration of task ':packageDebug'.
> Directory 'C:\Users\Sadoo\ya-hosein\ics-openvpn-Copy\build\native-libs' 
specified for property 'jniDir' does not exist. 

Original issue reported on code.google.com by hasan.ag...@gmail.com on 6 Aug 2013 at 12:38

GoogleCodeExporter commented 9 years ago
The windows build script has not been updated for the gradle/android studio 
build. You can either do it yourself (look at the .sh variant) and submit a 
patch.

I will update the script when I at my windows pc again but don't expect this to 
be soon.

Original comment by arne@rfc2549.org on 6 Aug 2013 at 12:44

GoogleCodeExporter commented 9 years ago
[deleted comment]
GoogleCodeExporter commented 9 years ago
I also cannot build ics-openvpn.

Gradle: A problem was found with the configuration of task ':packageDebug'.
> Directory '<path_to_project>/build/native-libs' specified for property 
'jniDir' does not exist.

I'm compiling on Ubuntu 13.04 with Android Studio 0.2.

Original comment by k.narkie...@nomtek.com on 19 Aug 2013 at 2:51

GoogleCodeExporter commented 9 years ago
You should read doc/README before trying to compile the project. The step by 
step should work under Linux.

Original comment by arne@rfc2549.org on 19 Aug 2013 at 3:47

GoogleCodeExporter commented 9 years ago
latest /misc/built-native.bat
-----------------------------------

@echo on
call ndk-build -j 8

cd libs
mkdir ..\assets

for /D %%f in (*) do (
    copy %%f\minivpn ..\assets\minivpn.%%f
    del %%f\libcrypto.so
    del %%f\libssl.so
)

for /D %%f in (*) do (

        mkdir  ..\build\native-libs\%%f
        copy  %%f\*.so  ..\build\native-libs\%%f

)

cd ..

Original comment by arun.s...@gmail.com on 19 Aug 2013 at 7:59

GoogleCodeExporter commented 9 years ago
Hi,
The size of generated < ics-openvpn-master-release-unsigned.apk > is 1650 KB in 
windows machine. Is this size ok.

Can you pls tell if this APK  already contains openvpn binary engine inside.
or I need to keep it with this apk file always in same folder when I intend to 
run it.
because during build I did not put any openvpn binary in Asset folder.

Thank you

Original comment by arun.s...@gmail.com on 19 Aug 2013 at 8:28

GoogleCodeExporter commented 9 years ago
Because.. When I transfer it to my android ics phone and press install button 
It says Installation failed. <Installation error>
Thank you

Original comment by arun.s...@gmail.com on 19 Aug 2013 at 8:53

GoogleCodeExporter commented 9 years ago
I have no why you get an install error. There should be a more precise error 
message in logcat.

Original comment by arne@rfc2549.org on 19 Aug 2013 at 8:55

GoogleCodeExporter commented 9 years ago
This issue was closed by revision 9dfb879a2d21.

Original comment by arne@rfc2549.org on 1 Nov 2013 at 2:06