[Interest] Qt-5.9.1 for Android - Documentation for Building with 3-rd Party Jars from Google

Robert Iakobashvili coroberti at gmail.com
Fri Jul 7 11:21:52 CEST 2017


Hi,
It is working for me with 5.7.1.

Trying to upgrade to 5.9.1, I'm getting errors:

RequestPermissions.java:30: error: cannot find symbol

import android.support.v4.content.ContextCompat;

^

symbol: class ContextCompat

location: package android.support.v4.content

RequestPermissions.java:31: error: cannot find symbol

import android.support.v4.app.ActivityCompat;

^

symbol: class ActivityCompat

location: package android.support.v4.app

The procedure states that one needs ANDROID_PACKAGE_SOURCE_DIR
and project.properties file there
http://doc.qt.io/qt-5/android3rdpartylibs.html

ANDROID_PACKAGE_SOURCE_DIR was always defined in my pro
file.

So, I've added project.properties as below:
android.library.reference.1=libs/

Still it does not work.

Thanks in advance!

Kind regards,
Robert
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.qt-project.org/pipermail/interest/attachments/20170707/39a1f4c5/attachment.html>


More information about the Interest mailing list