Click here to Skip to main content
15,940,246 members
Please Sign up or sign in to vote.
0.00/5 (No votes)
See more:
error: cannot find symbol class OnTagSelectionCancel	
error: cannot find symbol variable layout	
error: cannot find symbol variable drawable	
error: cannot find symbol variable id	
error: cannot find symbol variable id	
error: cannot find symbol variable id	
error: cannot find symbol variable id	
error: cannot find symbol variable id	
error: cannot find symbol variable id	
error: cannot find symbol variable id	
error: cannot find symbol variable imgBlur	
error: cannot find symbol variable id	
error: cannot find symbol variable drawable	
error: cannot find symbol variable drawable	
error: cannot find symbol variable drawable	
error: cannot find symbol variable drawable	
error: cannot find symbol variable drawable	
error: cannot find symbol variable imgBlur	
error: cannot find symbol variable id	
error: cannot find symbol variable closeTag	
error: cannot find symbol variable drawable	
error: cannot find symbol variable drawable	
error: cannot find symbol variable drawable	
error: cannot find symbol variable layout	
error: cannot find symbol variable id	
error: cannot find symbol variable layout	
error: cannot find symbol variable id	
error: cannot find symbol variable drawable	
error: cannot find symbol variable drawable	
error: cannot find symbol variable drawable	
error: cannot find symbol variable drawable	
error: cannot find symbol variable drawable	
error: cannot find symbol variable drawable	
error: cannot find symbol variable drawable	
error: cannot find symbol variable drawable	
error: cannot find symbol class DefaultItemAnimator	
error: cannot find symbol class AutoResizeTextView	
error: cannot find symbol variable id	
error: cannot find symbol method getTitle()	
error: cannot find symbol variable id	
error: cannot find symbol variable id	
error: int cannot be dereferenced	
error: cannot find symbol variable b	
error: cannot find symbol variable id	
error: cannot find symbol variable id	
error: cannot find symbol variable drawable	
error: package findViewById does not exist	

Button Ok = (Button) dialog.findViewById(id.btn_ok);


TextAdapter adapter = new TextAdapter(MainActivity.this,
        layout.spinner_row, style);
mSpinner_text_style.setAdapter(adapter);


What I have tried:

the actual code is long to post ... I tried online suggestions ... invalidate caches ... clean project ... I changed the names and it's still giving me the same problem ... I also updated the SDK manager files ... I know not showing the codes won't help ... but some suggestions may help me with this problem.
Posted
Updated 28-Jun-19 18:57pm
v2

1 solution

At a guess, you have a missing or extra close curly bracket somewhere just above the first line that the compiler finds an error on.

Start by looking closely at that line, and the ones above. That looks like a method name to me, so the chances are it's a missing '{' so check the code above and make sure it's right.

If you can't work it out, backup your file and remove most of the code, then add classes and methods bit by bit until errors start to happen. You should then be able to see why, and check that in the backup.

Sorry, but this is your code, and we don't have any access to it!
 
Share this answer
 

This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)



CodeProject, 20 Bay Street, 11th Floor Toronto, Ontario, Canada M5J 2N8 +1 (416) 849-8900