Android Forums

Go Back   These FORUMS ARE DISABLED!! OUR NEW FORUMS ARE AT http://androidforum.com/ > Android Coders > Android Development, Answers, Tutorials, and Code Snippets
Connect with Facebook

Click Here To Register!
 
 
LinkBack Thread Tools Display Modes
Old 10-23-2008, 07:47 PM   #1
Junior Member
 
Join Date: Oct 2008
Posts: 2
Friends: 0
View neo555's Profile   View neo555's Photo Album   View neo555's Blog   View Social Groups
Has anyone encountered this error message when building the Android source under Ubuntu 8.04?

Install: out/host/linux-x86/bin/apicheck
Checking API: checkapi-last
build/core/api/1.xml:273231: error 1: required string: "method"

******************************
You have tried to change the API from what has been previously released in
an SDK. Please fix the errors listed above.
******************************
neo555 is offline  
Digg this Post!Add Post to del.icio.usBookmark Post in Technorati
Old 10-29-2008, 04:14 PM   #2
Junior Member
 
Join Date: Oct 2008
Posts: 2
Friends: 0
View bvinodkr's Profile   View bvinodkr's Photo Album   View bvinodkr's Blog   View Social Groups
I have run into the same problem under ubuntu 8.04. Do let me know if you found a solution to this problem.
bvinodkr is offline  
Digg this Post!Add Post to del.icio.usBookmark Post in Technorati
Old 10-29-2008, 06:00 PM   #3
Junior Member
 
Join Date: Oct 2008
Posts: 2
Friends: 0
View bvinodkr's Profile   View bvinodkr's Photo Album   View bvinodkr's Blog   View Social Groups
The problem was caused since I was pointing to a older version of java. Updating to java 1.6 and running the following solved the problem:
sudo update-java-alternatives -s java-6-sun
bvinodkr is offline  
Digg this Post!Add Post to del.icio.usBookmark Post in Technorati
Old 10-29-2008, 06:01 PM   #4
paranoid android
 
Andor's Avatar
 
Join Date: Feb 2008
Location: UK
Posts: 702
Friends: 9
Blog Entries: 1
View Andor's Profile   View Andor's Photo Album   View Andor's Blog   View Social Groups
Quote:
Originally Posted by bvinodkr View Post
The problem was caused since I was pointing to a older version of java. Updating to java 1.6 and running the following solved the problem:
sudo update-java-alternatives -s java-6-sun
Thanks for updating with the solution bvinodkr, im sure it'll be helpful to others who encounter the problem
Andor is offline  
Digg this Post!Add Post to del.icio.usBookmark Post in Technorati
Old 10-30-2008, 08:30 PM   #5
Junior Member
 
Join Date: Oct 2008
Posts: 2
Friends: 0
View neo555's Profile   View neo555's Photo Album   View neo555's Blog   View Social Groups
Quote:
Originally Posted by bvinodkr View Post
The problem was caused since I was pointing to a older version of java. Updating to java 1.6 and running the following solved the problem:
sudo update-java-alternatives -s java-6-sun

Thanks for the info. I ran the update command and it did fix this problem. Unfortunately the build ran into this problem further into the make:

host C++: make_cfst <= external/srec/tools/make_cfst/make_cfst.cpp
external/srec/tools/thirdparty/OpenFst/fst/lib/map.h: In member function ‘void fst::MapFstImpl<A, B, C>::Expand(typename B::StateId) [with A = fst::GallicArc<fst::StdArc, STRING_LEFT_RESTRICT>, B = fst::StdArc, C = fst::FromGallicMapper<fst::StdArc, STRING_LEFT_RESTRICT>]’:
external/srec/tools/thirdparty/OpenFst/fst/lib/map.h:358: internal compiler error: Segmentation fault
Please submit a full bug report,
with preprocessed source if appropriate.
See <URL:http://gcc.gnu.org/bugs.html> for instructions.
For Debian GNU/Linux specific bug reporting instructions,
see <URL:file:///usr/share/doc/gcc-4.2/README.Bugs>.
make: *** [out/host/linux-x86/obj/EXECUTABLES/make_cfst_intermediates/make_cfst.o] Error 1


I'll try a fresh sync and see what happens.
neo555 is offline  
Digg this Post!Add Post to del.icio.usBookmark Post in Technorati
Old 12-29-2008, 01:33 AM   #6
Junior Member
 
Join Date: Dec 2008
Posts: 1
Friends: 0
View sword_i's Profile   View sword_i's Photo Album   View sword_i's Blog   View Social Groups
I have downloaded jdk-6u10-linux-i586.bin, and run ./jdk-6u10-linux-i586.bin, but encounted the same error. for my computer used for compiling android cannot conntect into net, is there another way to solve the problem? Thx!

Last edited by sword_i; 12-29-2008 at 01:35 AM..
sword_i is offline  
Digg this Post!Add Post to del.icio.usBookmark Post in Technorati
 

Thread Tools
Display Modes



Similar Threads
Thread Thread Starter Forum Replies Last Post
Want to build an Android app, but have no coding knowledge? Andor Android Games And Applications 1 10-21-2008 06:51 AM
How do i build the android sample application in command line? android Android Development, Answers, Tutorials, and Code Snippets 0 10-17-2008 08:20 AM
Google: Android Will Be 100% Open Source BedHead Android Development, Answers, Tutorials, and Code Snippets 0 06-02-2008 01:59 PM
Verizon Sides with Lilo, Snubs Android - Problem? Clinker Android Chat 2 05-21-2008 05:55 AM


Unlocked G1 Phones | Buy T-Mobile G1 | Google Phone

All times are GMT -6. The time now is 06:15 PM.


Powered by vBulletin® Version 3.8.7
Copyright ©2000 - 2012, vBulletin Solutions, Inc.
SEO by vBSEO 3.3.2 ©2009, Crawlability, Inc.
Copyright (c) 2012 TalkAndroid.com. All rights reserved.