Recnar
Aspiring developer
Profile
Posts: 27
Reg: Feb 06, 2012
Aveiro
370
01/17/13 12:26 PM (13 years ago)

Errors in project's code

I created and imported the project in BT and after making the necessary changes that come in the user manual, the errors subsist. And i cannot test or compile my project into .apk format for the store deployment. I have the project settings in google 2.2 (api 8). And the code after reading it looks correct, but i still show 100 warning and 401 errors.
 
LA
Aspiring developer
Profile
Posts: 3280
Reg: Aug 16, 2012
Jerseyville, IL
42,900
like
01/17/13 12:28 PM (13 years ago)
Hey @Recnar, Can you post what type of errors please? LA
 
Recnar
Aspiring developer
Profile
Posts: 27
Reg: Feb 06, 2012
Aveiro
370
like
01/17/13 12:31 PM (13 years ago)
Description Resource Path Location Type Call requires API level 3 (current min is 1): android.net.ConnectivityManager#getBackgroundDataSetting BT_device.java /Villore Accords/src/com/villoreaccords line 199 Android Lint Problem
 
ceerup
Code is Art
Profile
Posts: 1033
Reg: Oct 10, 2011
New York City
16,380
like
01/17/13 12:32 PM (13 years ago)
is the manifest xml in the project
 
Recnar
Aspiring developer
Profile
Posts: 27
Reg: Feb 06, 2012
Aveiro
370
like
01/17/13 12:33 PM (13 years ago)
everything is there from BT but the code is issueing errors. and runing the necessary correction and lint does not work.
 
LA
Aspiring developer
Profile
Posts: 3280
Reg: Aug 16, 2012
Jerseyville, IL
42,900
like
01/17/13 12:33 PM (13 years ago)
Hi @Recnar, Your Villa Accords a pic or image? LA
 
Recnar
Aspiring developer
Profile
Posts: 27
Reg: Feb 06, 2012
Aveiro
370
like
01/17/13 12:47 PM (13 years ago)
 
Recnar
Aspiring developer
Profile
Posts: 27
Reg: Feb 06, 2012
Aveiro
370
like
01/17/13 12:48 PM (13 years ago)
 
LA
Aspiring developer
Profile
Posts: 3280
Reg: Aug 16, 2012
Jerseyville, IL
42,900
like
01/17/13 12:56 PM (13 years ago)
Looks like your not referencing your images. Reference your images in the drawable or BT docs. LA
 
Sandeep
Android Fan
Profile
Posts: 1260
Reg: Feb 01, 2012
Miraj, India
25,250
like
01/17/13 12:59 PM (13 years ago)
It seems that some attributes might be missing in your layout files which are showing errors. Posting the error code from logcat would be more helpful in understanding the cause of error.
 
Sandeep
Android Fan
Profile
Posts: 1260
Reg: Feb 01, 2012
Miraj, India
25,250
like
01/17/13 01:02 PM (13 years ago)
@LA it has nothing to do with the assets. The snapshot clearly shows that the exceldoc, maps, pdf, ppt and word layout files are showing errors.
 
LA
Aspiring developer
Profile
Posts: 3280
Reg: Aug 16, 2012
Jerseyville, IL
42,900
like
01/17/13 01:03 PM (13 years ago)
Yes I saw that @Sandeep. Thank you. LA
 
Paul Rogers
Android Fan
Profile
Posts: 2524
Reg: May 30, 2011
UK
35,740
like
01/17/13 01:35 PM (13 years ago)
When you open one of the xml files, what is the line throwing an error, and if you hover over the red line what's the reason for the error? Are any java files throwing errors? (They may not show errors until you try to run the project in the emulator or do a Project > Clean ).
 
Recnar
Aspiring developer
Profile
Posts: 27
Reg: Feb 06, 2012
Aveiro
370
like
01/17/13 02:48 PM (13 years ago)
The thing is that when i built the app in BT build page, i didnt put any docs in just simple url links. And there was no need to import any of the files that show error. Also i did a project>clean and they dont go away, if other thing it just shows more errors.
 

Login + Screen Name Required to Post

pointerLogin to participate so you can start earning points. Once you're logged in (and have a screen name entered in your profile), you can subscribe to topics, follow users, and start learning how to make apps like the pros.