DSPS-Android-3.210.4_0 compile error

Learn MoreFAQsTutorials

4 posts / 0 new
Last post
Roie DAHAN
Offline
Last seen:6 months 2 weeks ago
加入:2018-11-19 16:32
DSPS-Android-3.210.4_0 compile error

Hi Dialog support team,

The example DSPS-Android-3.210.4_0 fails to compile using Android Studio 3.4

Regards,

Roie

Device:
PM_Dialog
Offline
Last seen:1 day 5 hours ago
工作人员
加入:2018-02-08 11:03
Hi Roie DAHAN,

Hi Roie DAHAN,

Can you try to compile the DSPS Android source code (v3.210.4_0) with the Android Studio 3.3.2? Please let me know if you are able to compile it successfully whit 3.3.2 version.

Thanks, PM_Dialog

Roie DAHAN
Offline
Last seen:6 months 2 weeks ago
加入:2018-11-19 16:32
Hi,

Hi,

The Error i'm getting using DSPS Android source code (v3.210.4_0) is:

Could not find com.android.tools.build:aapt2:3.4.0-5326820.
搜索在以下位置:
-https://jcenter.bintray.com/com/android/tools/build/aapt2/3.4.0-5326820/...
-https://jcenter.bintray.com/com/android/tools/build/aapt2/3.4.0-5326820/...
Required by:
project :CordovaLib

Regards,
Roie

PM_Dialog
Offline
Last seen:1 day 5 hours ago
工作人员
加入:2018-02-08 11:03
Hi Roie DAHAN,

Hi Roie DAHAN,

Since your initial attempt was with Android Studio version3.4, could you please check if the build scripts are updated with the v3.4. This might me a reason why you cannot build it with Android Studio version3.3.2. Also, please check if the dsps_app_android/build.gradle is modified. You should have the following:

classpath 'com.android.tools.build:gradle:3.3.2'

Thanks, PM_Dialog