[Android-development] Basic problem import org.qtproject.qt5.android

Eskil Abrahamsen Blomfeldt eskil.abrahamsen-blomfeldt at theqtcompany.com
Fri Jan 9 10:20:43 CET 2015


On 01/09/2015 10:16 AM, Harri Pasanen wrote:
>
> Thanks, but I had a typo in the example problem, the following should be
> the real deal:
>
> ViewHtml.java:3: error: cannot find symbol
>
> [javac] import org.qtproject.qt5.android.QtNative;
>
> [javac] ^
>
> [javac] symbol: class QtNative
>
> [javac] location: package org.qtproject.qt5.android
>
>
> When I look at android-build directory, I see
>
> ls -lR android-build/src/org/qtproject/qt5/android/
> android-build/src/org/qtproject/qt5/android:
> total 4
> drwxrwxr-x 2 harri harri 4096 janv.  9 10:05 bindings
>
> android-build/src/org/qtproject/qt5/android/bindings:
> total 76
> -rw-r--r-- 1 harri harri 66117 janv.  9 10:05 QtActivity.java
> -rw-r--r-- 1 harri harri  6725 janv.  9 10:05 QtApplication.java
>
> Should the QC build have copied QtNative.java to android dir?

The QtNative class should be inside lib/QtAndroid-bundled.jar.

-- Eskil


-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.qt-project.org/pipermail/android-development/attachments/20150109/15d18fa7/attachment.html>


More information about the Android-development mailing list