Compilation Error?

Hi there.
I’m trying to compile a simple extension and if I use “@UsesPermissions” tag it generates the following error.

common_CommonVersion:

init:

CommonVersion:

AndroidRuntime:
[mkdir] Created dir: /home/Makeroid/appinventor/components/build/classes/AndroidRuntime
[javac] Compiling 314 source files to /home/Makeroid/appinventor/components/build/classes/AndroidRuntime
[javac] warning: [options] bootstrap class path not set in conjunction with -source 1.7
[javac] /home/Makeroid/appinventor/components/src/com/google/appinventor/components/runtime/NewExtension.java:25: error: cannot find symbol
[javac] @UsesPermissions(permissionName=“android.persmission.READ_CONTACTS”)
[javac] ^
[javac] symbol: method permissionName()
[javac] location: @interface UsesPermissions
[javac] Note: Some input files use or override a deprecated API.
[javac] Note: Recompile with -Xlint:deprecation for details.
[javac] Note: Some input files use unchecked or unsafe operations.
[javac] Note: Recompile with -Xlint:unchecked for details.
[javac] 1 error
[javac] 1 warning

Any Thoughts? Am I missing some import?
Cheers,
Lildinti

It’s permissionNames

Thanks a million Pavi…
Cheers

“persmission” this word is wrong.

Thanks Mika. It was solved already
Cheers

This topic was automatically closed 30 days after the last reply. New replies are no longer allowed.