Ed-Yang / strongswan-android

8 stars 5 forks source link

Not abale to Build Android Strongswan module #1

Open dibyenducre opened 5 years ago

dibyenducre commented 5 years ago

Hello, I followed the process to build strongswan android, build not able to build. can you help me by providing complete source code with openssl and strongswan folder in Android project .

dibyenducre commented 5 years ago

While building using ndk0build in android studio terminal, that is exiting with some error

Ed-Yang commented 5 years ago

Please paste the error message, I will find time to look at it.

synapse-consulting commented 4 years ago

Hello, I followed all steps from your guide. I am getting this error when running ndk-build: **make: * No rule to make target '/Users/afshan/Documents/Projects/Android/strongswan-android/strongswan/src/frontends/android/app/src/main/jni/../../../../../../..//Android.common.mk'. Stop.

synapse-consulting commented 4 years ago

Also getting these warnings on the same command. I am using macOSX

Android NDK: WARNING: APP_PLATFORM android-19 is higher than android:minSdkVersion 1 in /Users/afshan/Documents/Projects/Android/strongswan-android/strongswan/src/frontends/android/app/src/main/AndroidManifest.xml. NDK binaries will not be compatible with devices older than android-19. See https://android.googlesource.com/platform/ndk/+/master/docs/user/common_problems.md for more information.
Android NDK: WARNING: Unsupported source file extensions in /Users/afshan/Documents/Projects/Android/strongswan-android/strongswan/src/frontends/android/app/src/main/jni/openssl/Android.mk for module crypto_static
Android NDK: crypto/constant_time_locl.h
Android NDK: WARNING: Unsupported source file extensions in /Users/afshan/Documents/Projects/Android/strongswan-android/strongswan/src/frontends/android/app/src/main/jni/openssl/Android.mk for module crypto_static
Android NDK: crypto/constant_time_locl.h
Android NDK: WARNING: Unsupported source file extensions in /Users/afshan/Documents/Projects/Android/strongswan-android/strongswan/src/frontends/android/app/src/main/jni/openssl/Android.mk for module crypto_static
Android NDK: crypto/constant_time_locl.h
Android NDK: WARNING: Unsupported source file extensions in /Users/afshan/Documents/Projects/Android/strongswan-android/strongswan/src/frontends/android/app/src/main/jni/openssl/Android.mk for module crypto_static
Android NDK: crypto/constant_time_locl.h

islavstan commented 3 years ago

Hi! I have the same error, @synapse-consulting did you find solution?

alexcc4 commented 3 years ago

Hello, I followed all steps from your guide. I am getting this error when running ndk-build: **make: * No rule to make target '/Users/afshan/Documents/Projects/Android/strongswan-android/strongswan/src/frontends/android/app/src/main/jni/../../../../../../..//Android.common.mk'. Stop.

Same error, too. I resolved it with not executing make maintainer-clean,