B4J Question Dialog errors

maleche

Active Member
Licensed User
Longtime User
Hello All,

I receive the following errors when using ANY dialog;
Parsing code. 0.01
Compiling code. 0.99
Compiling debugger engine code. 1.70
Compiling generated Java code. Error
B4A line: 366
Log(\
javac 1.7.0_45
src\obd\datadecrypt\main.java:421: error: package android.graphics does not exist
anywheresoftware.b4a.keywords.Common.Log("in="+BA.NumberToString(_fd.Show("This Dialog","Yes","Cancel","No",ba,(android.graphics.Bitmap)(anywheresoftware.b4a.keywords.Common.Null))));


Example:
Dim Ret as integer
Dim fd As FileDialog
Ret = fd.Show("This Dialog","Yes","Cancel","No","",Null)

Same for;
Dim cd As ColorDialog
Ret cd.Show("This Dialog","Yes","Cancel","No",Null)

"android.graphics does not exist..." what does this mean?

Thanks,
Doyle
 

maleche

Active Member
Licensed User
Longtime User
Erel,
Thanks for asking.
Yes. I am using B4J. It appears that all dialog types are producing this error. I still receive the error when adding a bmp, jpb, or Null for the picture. I am only guessing that is may be a result of the "...package android.graphics does not exist..." error.

I have reinstalled the latest B4J again, with no change. Is my Java package outdated?

Warm regards,
Doyle
 
Upvote 0
Top