Regarding building of Quill source code in Android studio

60 views
Skip to first unread message

krishna chaitanya

unread,
Mar 27, 2015, 2:56:23 PM3/27/15
to quill...@googlegroups.com
Hi,

I am trying to setup Quill project in Android studio. I have imported the quill source code as Eclipse project into my Android Studio and observed that Gradle files got created automatically.  I have added ambilWarna and androidFilePicker in my library path as well. I have downloaded NDK and specified the location to Android Studio.

When I try to build the project, the compilation of

In file included from D:\android\TestGit\android-quill\quill\src\main\jni\haru_error_handler.cpp:3:0:
D:\android\TestGit\android-quill\quill\src\main\jni\haru_error_handler.h:5:18: fatal error: hpdf.h: No such file or directory
 #include "hpdf.h"
                  ^
compilation terminated.

make.exe: *** [D:\android\TestGit\android-quill\quill\build\intermediates\ndk\debug\obj/local/arm64-v8a/objs/hpdf/D_\android\TestGit\android-quill\quill\src\main\jni\haru_error_handler.o] Error 1


I got lot of warnings like this as well before compilation failure.
:quill:compileDebugNdk
Warning:(457) warning: overriding commands for target `D:\android\TestGit\android-quill\quill\build\intermediates\ndk\debug\obj/local/arm64-v8a/objs/hpdf/D_\android\TestGit\android-quill\quill\src\main\jni\libhpdf-2.3.0RC2\demo\font_demo.o'
D:\android\android-ndk-r10d\build\core\build-binary.mk
Warning:(455) warning: ignoring old commands for target `D:\android\TestGit\android-quill\quill\build\intermediates\ndk\debug\obj/local/mips/objs/hpdf/D_\android\TestGit\android-quill\quill\src\main\jni\libhpdf-2.3.0RC2\demo\font_demo.o'

Please help.

Thanks,
Krishna Chaitanya

Stefan Langerman

unread,
Jun 17, 2015, 12:15:35 AM6/17/15
to quill...@googlegroups.com
Yup it's a bit tricky. I managed to do it with a little help from my friends...
After importing you have to add a dependency to AmbilWarna, add the code of filepicker, and fix all the native code.
I'll try to clean it up a bit and clone into a new fresh repo for people to play with.

krishna chaitanya

unread,
Jun 17, 2015, 12:40:15 AM6/17/15
to quill...@googlegroups.com
Hi,

Thanks for the reply. Eagerly looking forward to use your new repo and play around with Quill. I request you to update the readme and build wiki as well with more details steps. (this would be helpful for rookies like me as I don't have to figure out again).

Thanks,
Krishna Chaitanya

On Wed, Jun 17, 2015 at 9:45 AM, Stefan Langerman <s...@slef.org> wrote:
Boxbe This message is eligible for Automatic Cleanup! (s...@slef.org) Add cleanup rule | More info

Yup it's a bit tricky. I managed to do it with a little help from my friends...
After importing you have to add a dependency to AmbilWarna, add the code of filepicker, and fix all the native code.
I'll try to clean it up a bit and clone into a new fresh repo for people to play with.

On Friday, March 27, 2015 at 7:56:23 PM UTC+1, krishna chaitanya wrote:

--
You received this message because you are subscribed to a topic in the Google Groups "Quill Development" group.
To unsubscribe from this topic, visit https://groups.google.com/d/topic/quill-devel/yVW2iWhk9Lc/unsubscribe.
To unsubscribe from this group and all its topics, send an email to quill-devel...@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


Reply all
Reply to author
Forward
0 new messages