Hello Koders I am building a extension. but i have faced a error. which is String cannot be converted to int.
Build Log :-
> [javac] /projects/goldv2/appinventor-sources/appinventor/components/src/com/appybuilder/vedangsolaskar2018/NumConvert/NumConvert.java:41: error: incompatible types: String cannot be converted to int
[javac] return "1k+";
[javac] ^
Code :-
@SimpleFunction(description = “convert number”)
public int ConvertViews(int number){
// 1
int a = 999;
int b = 1099;
Yes.
Change int to String.
Also for questions about working with the App Inventor sources, the best place is to ask in the App Inventor Open Source forum