Giter VIP home page Giter VIP logo

Comments (7)

Skycoder42 avatar Skycoder42 commented on August 11, 2024

Did you adjust this line: https://github.com/Skycoder42/AndroidUtils/blob/master/de_skycoder42_androidutils.prc#L13

You have to comment the lower one and uncomment the upper when using qpm. However, the "no rule to make target" error seems strange. Please upload the full buildlog, as well as the generated makefile, so I can find out whats going on

from androidutils.

mehranmd avatar mehranmd commented on August 11, 2024

sry for the delay.
i was working on other project for a while.
i start listing the problem that i faced and the solutions i found.

1_
PROBLEM:
QMAKE error:
Cannot read C:/Users/MeHrAnM.D/Desktop/Workshop/androidTestLab/utilTest/utilTest/vendor/android/native/pri/examples/androidnativeexample/.pri: No such file or directory

FIX: change line 8 of vendor.pri from:
include($$PWD/android\native\pri\examples\androidnativeexample\.pri)
to
include($$PWD/android\native\pri\examples\androidnativeexample\deployment.pri)

2_
compiler error:
..\utilTest\vendor\de\skycoder42\androidutils\androidutils.cpp:5:30: fatal error: systemdispatcher.h: No such file or directory
#include <systemdispatcher.h>
^
FIX:
we need to use related path address because compiler couldn't find the file.
in files :
sharedpreferences.cpp
filechooser.cpp
androidutils.cpp
change #include <systemdispatcher.h> to
#include <./android/native/pri/cpp/AndroidNative/systemdispatcher.h>

last Fix will lead to :
👎 error: No rule to make target androidutils_jni.cpp', needed by androidutils_jni.obj'. Stop.

from androidutils.

Skycoder42 avatar Skycoder42 commented on August 11, 2024

That still wont help me to locate the current error. I need the generated Makefile you can find the the build folder of the project. Simply upload it here as file attachment please.

Also, I have mostly abandoned this project in favor of https://github.com/Skycoder42/AndroidContentDevice and https://github.com/Skycoder42/QtMvvm, so don't expect any fixes/updates from my side. I will help you find a solution to this problem, and I do accept pull requests with fixes, if you get a working version.

from androidutils.

mehranmd avatar mehranmd commented on August 11, 2024

You have to comment the lower one and uncomment the upper when using qpm.

i did that too before applying fix for number 2

from androidutils.

mehranmd avatar mehranmd commented on August 11, 2024

I need the generated Makefile you can find the the build folder of the project. Simply upload it here as file attachment please.

Makefile.zip

from androidutils.

Skycoder42 avatar Skycoder42 commented on August 11, 2024

Try changing this line: https://github.com/Skycoder42/AndroidUtils/blob/master/de_skycoder42_androidutils.prc#L11

To:

!noJniOnLoad: SOURCES += $$PWD/androidutils_jni.cpp

from androidutils.

Skycoder42 avatar Skycoder42 commented on August 11, 2024

Do you need any additional help? If not, I am going to close this issue

from androidutils.

Related Issues (1)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.