SAndroidEOfficial / framework

SAndroidE - Sensors for Android Embedded. A free framework allowing external devices to be easily managed in Android
http://es3.unibs.it/SAndroidE
Other
7 stars 1 forks source link

Minimal Requirements #24

Open RedsAnDev opened 7 years ago

RedsAnDev commented 7 years ago

Where can I find the minimal requirements for SAndroidE?

I suggest to add in README.md:

giowild commented 7 years ago

good question! :)

RedsAnDev commented 7 years ago

I find this error when I'm following T1.

Error:Execution failed for task ':app:processDebugManifest'.

Manifest merger failed : uses-sdk:minSdkVersion 18 cannot be smaller than version 19 declared in library [:SAndroidE:] /Users/RAD/AndroidStudioProjects/raspiController/app/build/intermediates/exploded-aar/SAndroidE/AndroidManifest.xml Suggestion: use tools:overrideLibrary="it.unibs.sandroide.lib" to force usage

Min version: 19!

giowild commented 7 years ago

I'm not 100% sure that 19 is the minimum version which should be declared in sandroide library.. maybe it can be lowered? @drkangel, what do you think?

drkangel commented 7 years ago

The min sdk can be lowered to 18 (Android 4.3). @giowild please test this change and let me know if there is any problem with it.

giowild commented 7 years ago

@drkangel I tried minsdk=18 but usbSerialForAndroid has minsdk=19.

Is usbSerialForAndroid still needed?

This is the error:

Error:Execution failed for task ':flasher:processDebugManifest'.
> Manifest merger failed : uses-sdk:minSdkVersion 18 cannot be smaller than version 19 declared in library [:usbSerialForAndroid:] C:\git\sandroide\framework\flasher\build\intermediates\exploded-aar\usbSerialForAndroid\AndroidManifest.xml
    Suggestion: use tools:overrideLibrary="com.hoho.android.usbserial" to force usage
drkangel commented 7 years ago

usbSerialForAndroid is used for downloading sketches on Arduino, thus it is not used by the library itself but by the Application fournished for downloading FW onto the remote devices. If you want to remove it you should rewrite the code using another USB library, or write the function for USB handling yourself... or disable the Arduino programing functionality.