LinuxQuestions.org
Help answer threads with 0 replies.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Non-*NIX Forums > Programming
User Name
Password
Programming This forum is for all programming questions.
The question does not have to be directly related to Linux and any language is fair game.

Notices


Reply
  Search this Thread
Old 01-22-2015, 05:27 PM   #1
amboxer21
Member
 
Registered: Mar 2012
Location: New Jersey
Distribution: Gentoo
Posts: 291

Rep: Reputation: Disabled
ant errors while compiling on the command line


I am having a problem compiling this keyboard in my terminal https://github.com/AnySoftKeyboard/AnySoftKeyboard

I have set all env variables
I am building with:

Code:
$SDK/android project update --name AnySoftKeyboard --target android-19 --subprojects -p .
Then running ant debug

I get these errors -> http://pastebin.com/Kxt6Mkdd

I installed the support libs through the SDK manager.

I have a feeling that it has something to do with a library reference. I see that the keyboard has a custom theme. Any help woulb be appreciated. Thanks.

Even if i update with a lib reference
Code:
$SDK/android update project --name AnySoftKeyboard --target android-19 --library /home/anthony/android-sdk-linux/extras/android/support/v7/appcompat --subprojects -p .
I still get errors

Code:
BUILD FAILED
/home/anthony/android-sdk-linux/tools/ant/build.xml:577: /home/anthony/android-sdk-linux/extras/android/support/v7/appcompat resolve to a path with no project.properties file for project /home/anthony/Documents/Android/AnySoftKeyboard

Last edited by amboxer21; 01-22-2015 at 05:46 PM.
 
Old 01-22-2015, 08:34 PM   #2
amboxer21
Member
 
Registered: Mar 2012
Location: New Jersey
Distribution: Gentoo
Posts: 291

Original Poster
Rep: Reputation: Disabled
Thanks for all of the help!

IN any case, the basic android app should have a res and src directory. Along with the AndroidManifest.xml and project.properties files. The AnySoftKeyboard is build a bit different and I am unfamiliar with the way it is built. I built this basic keyboard -> https://github.com/amboxer21/SoftKeyboard with

Code:
$SDK/android update project --name AnySoftKeyboard --target android-19 --library /home/anthony/android-sdk-linux/extras/android/support/v7/appcompat --subprojects -p .
Code:
ant debug
 
Old 01-24-2015, 09:26 PM   #3
amboxer21
Member
 
Registered: Mar 2012
Location: New Jersey
Distribution: Gentoo
Posts: 291

Original Poster
Rep: Reputation: Disabled
As for the first program/keyboard -> https://github.com/AnySoftKeyboard/AnySoftKeyboard

I was able to compile with gradlew inside of the root dir via ./gradlew clean build

After I ran an update project via [b]$SDK/android update project --target android-19 -p .[\b]
 
  


Reply

Tags
android, ant, command line, compile



Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
emacs: byte compiling from the command line stateless Programming 2 05-28-2013 04:00 PM
[SOLVED] installing apache ANT, can't create /usr/local/ant folder per ANT's manual jclark978 Linux - Newbie 1 12-11-2011 02:00 AM
LXer: Creating and compiling Qt projects on the command line LXer Syndicated Linux News 0 01-13-2006 05:31 AM
Xlib errors when trying to open graphical app from command line, 9.1 Personal Baddox SUSE / openSUSE 4 09-21-2005 11:31 PM
New MPlayer errors - command line works, GUI doesn't Trey2501 Linux - Newbie 8 03-07-2004 07:59 PM

LinuxQuestions.org > Forums > Non-*NIX Forums > Programming

All times are GMT -5. The time now is 05:33 PM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration