stgrosshh / tipermissions

Titanium Modul for handling of Android permissions
Other
11 stars 5 forks source link

cannot find symbol Manifest.permission.FLASHLIGHT while trying to build Appcelerator module #4

Open ao1ansal opened 6 years ago

ao1ansal commented 6 years ago

I am trying to package an android module in Appcelerator 5.0.0 studio and Titanium SDK 7.0.1 with the tipermissions.java. But only for 'Manifest.permission.FLASHLIGHT', I am getting the below error. Without this , I am able to build the module successfully.

[ERROR] : Failed to compile Java source files: [ERROR] :
[ERROR] : warning: [options] bootstrap class path not set in conjunction with -source 1.7 [ERROR] : warning: Supported source version 'RELEASE_6' from annotation processor 'org.appcelerator.kroll.annotations.generator.KrollJSONGenerator' less than -source '1.7' [ERROR] : Note: [KrollBindingGen] Running Kroll binding generator. [ERROR] : Note: [KrollBindingGen] No binding data found, creating new data file: org.appcelerator.titanium.bindings/xyz.json [ERROR] : Note: [KrollBindingGen] Found binding for module XYZ [ERROR] : Note: [KrollBindingGen] Generating JSON: file:/D:/Source_Code/xyz/android/build/generated/json/org/appcelerator/titanium/bindings/xyz.json [ERROR] : D:\Source_Code\xyz\android\src\com\ust\xyz\XYZ.java:58: error: cannot find symbol [ERROR] : Manifest.permission.EXPAND_STATUS_BAR,Manifest.permission.FLASHLIGHT, [ERROR] : ^ [ERROR] : symbol: variable FLASHLIGHT [ERROR] : location: class permission [ERROR] : 1 error [ERROR] : 1 warning

stgrosshh commented 6 years ago

Hi,

since Axway did not merge the patch required to use this module into their main branch,

I decided years ago to abandon this Module.

 

They developed something similar with somewhat fewer features.

Please see the Axway Titanium documentation for further infos.

 

Best Regards

 Stefan

 

Gesendet: Donnerstag, 01. Februar 2018 um 07:13 Uhr Von: ao1ansal notifications@github.com An: stgrosshh/tipermissions tipermissions@noreply.github.com Cc: Subscribed subscribed@noreply.github.com Betreff: [stgrosshh/tipermissions] cannot find symbol Manifest.permission.FLASHLIGHT while trying to build Appcelerator module (#4)

I am trying to package an android module in Appcelerator 5.0.0 studio and Titanium SDK 7.0.1 with the tipermissions.java. But only for 'Manifest.permission.FLASHLIGHT', I am getting the below error. Without this , I am able to build the module successfully.

[ERROR] : Failed to compile Java source files: [ERROR] : [ERROR] : warning: [options] bootstrap class path not set in conjunction with -source 1.7 [ERROR] : warning: Supported source version 'RELEASE_6' from annotation processor 'org.appcelerator.kroll.annotations.generator.KrollJSONGenerator' less than -source '1.7' [ERROR] : Note: [KrollBindingGen] Running Kroll binding generator. [ERROR] : Note: [KrollBindingGen] No binding data found, creating new data file: org.appcelerator.titanium.bindings/xyz.json [ERROR] : Note: [KrollBindingGen] Found binding for module XYZ [ERROR] : Note: [KrollBindingGen] Generating JSON: file:/D:/Source_Code/xyz/android/build/generated/json/org/appcelerator/titanium/bindings/xyz.json [ERROR] : D:\Source_Code\xyz\android\src\com\ust\xyz\XYZ.java:58: error: cannot find symbol [ERROR] : Manifest.permission.EXPAND_STATUS_BAR,Manifest.permission.FLASHLIGHT, [ERROR] : ^ [ERROR] : symbol: variable FLASHLIGHT [ERROR] : location: class permission [ERROR] : 1 error [ERROR] : 1 warning

— You are receiving this because you are subscribed to this thread. Reply to this email directly, view it on GitHub, or mute the thread.