6. check for the OpenSSL version again using (unzip -p android-release-unsigned.apk | strings | grep "OpenSSL")
and still returns me i.e. RC2 part of OpenSSL 1.0.1j 15 Oct 2014
Also, is that version working for ios? because now i cordova build ios, it gave me this error:
Error code 65 for command: xcodebuild with args: -xcconfig,/Users/documents/SIDAR SDK5/platforms/ios/cordova/build-debug.xcconfig,-project,SID AR.xcodeproj,ARCHS=i386,-target,SID AR,-configuration,Debug,-sdk,iphonesimulator,build,VALID_ARCHS=i386,CONFIGURATION_BUILD_DIR=/Users/documents/SIDAR SDK5/platforms/ios/build/emulator,SHARED_PRECOMPS_DIR=/Users/documents/SIDAR SDK5/platforms/ios/build/sharedpch ERROR building one of the platforms: Error: /Users/documents/SIDAR SDK5/platforms/ios/cordova/build: Command failed with exit code 2 You may not have the required environment or OS to build this project Error: /Users/documents/SIDAR SDK5/platforms/ios/cordova/build: Command failed with exit code 2 at ChildProcess.whenDone (/usr/local/lib/node_modules/cordova/node_modules/cordova-lib/src/cordova/superspawn.js:131:23) at emitTwo (events.js:87:13) at ChildProcess.emit (events.js:172:7) at maybeClose (internal/child_process.js:821:16) at Process.ChildProcess._handle.onexit (internal/child_process.js:211:5)
Thanks!
Lidya
T
Takamitsu Araki
said
over 7 years ago
hi Daniel Guttenberg
Thank you very much for releasing latest version.
I installed wikitude-cordova-plugin(5.2.0-3.3.0) and tried to build.
But those errors still occur. I attach error log files to this post.
Could you tell me what is wrong, if you know the cause.
Thank you!
--------------------
build error for android
--------------------
Discovered plugin "Camera" in config.xml. Adding it to the project
Failed to restore plugin "Camera" from config.xml. You might need to try adding it again. Error: Error: no such package available : Camera
--------------------
build error for iOS
--------------------
Discovered plugin "Camera" in config.xml. Adding it to the project
Failed to restore plugin "Camera" from config.xml. You might need to try adding it again. Error: Error: no such package available : Camera
A
Andreas Schacherbauer
said
over 7 years ago
Hi Jonathan, How do you install our plugin? Do you try to build our example application or your own project including our plugin?
Best regards,
Andreas
D
Daniel Guttenberg
said
over 7 years ago
@ Lidya Agustina
I just created and built an app from scratch using the official 5.2.0-3.3.0 cordova release package from http://www.wikitude.com/download/.
The grep output of the resulting apk reads RC2 part of OpenSSL 1.0.1r 28 Jan 2016.
Are you positive, that you grep'd the information from the correct apk file? (<your_project_root>/platforms/android/build/outputs/apk/android-release-unsigned.apk for --release)
If so, I would like you to try to build an empty application and check the apk created thereby.
Please execute the following commands in your terminal of choice:
The open the AndroidManifest.xml file in <project_root>/platforms/android/ with whatever text editor you fancy and change the android:minSdkVersion from 14 to 15.
I tested this using the latest cordova version (6.2.0).
Regarding iOS: I also created and built an empty application using the latest cordova-ios version (4.2.0) without any issues. I would recommend removing the cordova-ios package you currently have installed and reinstalling the latest one:
1. cordova platform remove ios
2. cordova platform add ios@4
D
Daniel Guttenberg
said
over 7 years ago
@ Takamitsu Araki
Could you provide your config.xml file for me to have a look at?
A
Andreas Schacherbauer
said
over 7 years ago
Hi Takamitsu, The error in your log refers to the Camera plugin which should not be our plugin. Can you build your project without our plugin but with the Camera plugin? The error message kind of is that the Camera plugin is unknown.
Discovered plugin "Camera" in config.xml. Adding it to the project
Failed to restore plugin "Camera" from config.xml. You might need to try adding it again. Error: Error: no such package available : Camera
Philipp Nagele