Open nitzanwilnai opened 7 years ago
It appears the cordova-plugin-flurry-analytics/src/android folder is missing the jar and gradle files.
You must be using an old version of the plugin. There is no jar anymore. It comes in as a gradle dependency.
On Feb 13, 2017 7:09 PM, "nitzanwilnai" notifications@github.com wrote:
It appears the cordova-plugin-flurry-analytics/src/android folder is missing the jar and gradle files.
— You are receiving this because you are subscribed to this thread. Reply to this email directly, view it on GitHub https://github.com/blakgeek/cordova-plugin-flurryanalytics/issues/16#issuecomment-279565338, or mute the thread https://github.com/notifications/unsubscribe-auth/AAyU3lUlF3xGi0Xgbsebp2e0ZHlsFNCXks5rcPC0gaJpZM4L_2l4 .
The above warnings and errors are caused by the new plugin. The missing jar/gradle files are just what I noticed was different from version 1.1.0 which does work for me.
Can you post the dependencies section of your build.gradle?
On Mon, Feb 13, 2017 at 8:01 PM, nitzanwilnai notifications@github.com wrote:
The above warnings and errors are caused by the new plugin. The missing jar/gradle files are just what I noticed was different from version 1.1.0 which does work for me.
— You are receiving this because you commented. Reply to this email directly, view it on GitHub https://github.com/blakgeek/cordova-plugin-flurryanalytics/issues/16#issuecomment-279574325, or mute the thread https://github.com/notifications/unsubscribe-auth/AAyU3tUcKLutW1_k5lCjP6UlyadFULAiks5rcPzjgaJpZM4L_2l4 .
--
Want to waste some time or challenge your mental skills? Check out my games on www.bggamecentral.com or download them from the App Stores https://itunes.apple.com/us/artist/henry-lawton/id895605107 [image: https://play.google.com/store/search?q=pub:BG%20Games&utm_source=global_co&utm_medium=prtnr&utm_content=Mar2515&utm_campaign=PartBadge&pcampaignid=MKT-Other-global-all-co-prtnr-py-PartBadge-Mar2515-1] https://play.google.com/store/search?q=pub:BG%20Games&utm_source=global_co&utm_medium=prtnr&utm_content=Mar2515&utm_campaign=PartBadge&pcampaignid=MKT-Other-global-all-co-prtnr-py-PartBadge-Mar2515-1 Get it on Google https://play.google.com/intl/en_us/badges/images/generic/en-play-badge.png
What version of cordova and the android platform are you using?
On Mon, Feb 13, 2017 at 8:52 PM, Carlos Lawton blakgeek@gmail.com wrote:
Can you post the dependencies section of your build.gradle?
On Mon, Feb 13, 2017 at 8:01 PM, nitzanwilnai notifications@github.com wrote:
The above warnings and errors are caused by the new plugin. The missing jar/gradle files are just what I noticed was different from version 1.1.0 which does work for me.
— You are receiving this because you commented. Reply to this email directly, view it on GitHub https://github.com/blakgeek/cordova-plugin-flurryanalytics/issues/16#issuecomment-279574325, or mute the thread https://github.com/notifications/unsubscribe-auth/AAyU3tUcKLutW1_k5lCjP6UlyadFULAiks5rcPzjgaJpZM4L_2l4 .
--
Want to waste some time or challenge your mental skills? Check out my games on www.bggamecentral.com or download them from the App Stores https://itunes.apple.com/us/artist/henry-lawton/id895605107 [image: https://play.google.com/store/search?q=pub:BG%20Games&utm_source=global_co&utm_medium=prtnr&utm_content=Mar2515&utm_campaign=PartBadge&pcampaignid=MKT-Other-global-all-co-prtnr-py-PartBadge-Mar2515-1] https://play.google.com/store/search?q=pub:BG%20Games&utm_source=global_co&utm_medium=prtnr&utm_content=Mar2515&utm_campaign=PartBadge&pcampaignid=MKT-Other-global-all-co-prtnr-py-PartBadge-Mar2515-1 Get it on Google https://play.google.com/intl/en_us/badges/images/generic/en-play-badge.png
--
Want to waste some time or challenge your mental skills? Check out my games on www.bggamecentral.com or download them from the App Stores https://itunes.apple.com/us/artist/henry-lawton/id895605107 [image: https://play.google.com/store/search?q=pub:BG%20Games&utm_source=global_co&utm_medium=prtnr&utm_content=Mar2515&utm_campaign=PartBadge&pcampaignid=MKT-Other-global-all-co-prtnr-py-PartBadge-Mar2515-1] https://play.google.com/store/search?q=pub:BG%20Games&utm_source=global_co&utm_medium=prtnr&utm_content=Mar2515&utm_campaign=PartBadge&pcampaignid=MKT-Other-global-all-co-prtnr-py-PartBadge-Mar2515-1 Get it on Google https://play.google.com/intl/en_us/badges/images/generic/en-play-badge.png
Hi, it seems the plugin fails to compile on Android Studio 2.2.3. I am not sure if the cause is the newest revision of the plugin or not.
Below are the errors: Error:(4, 26) error: package com.flurry.android does not exist Error:(5, 26) error: package com.flurry.android does not exist Error:(6, 26) error: package com.flurry.android does not exist Error:(69, 13) error: cannot find symbol variable FlurryAgent Error:(79, 13) error: cannot find symbol variable FlurryAgent Error:(89, 13) error: cannot find symbol variable FlurryAgent Error:(100, 13) error: cannot find symbol variable FlurryAgent Error:(102, 13) error: cannot find symbol variable FlurryAgent Error:(115, 21) error: cannot find symbol variable FlurryAgent Error:(119, 21) error: cannot find symbol variable FlurryAgent Error:(122, 21) error: cannot find symbol variable FlurryAgent Error:(127, 47) error: cannot find symbol variable Constants Error:(127, 25) error: cannot find symbol variable FlurryAgent Error:(129, 47) error: cannot find symbol variable Constants Error:(129, 25) error: cannot find symbol variable FlurryAgent Error:(135, 21) error: cannot find symbol variable FlurryAgent Error:(141, 25) error: cannot find symbol variable FlurryAgent Error:(142, 25) error: cannot find symbol variable FlurryAgent Error:(144, 25) error: cannot find symbol variable FlurryAgent Error:(145, 25) error: cannot find symbol variable FlurryAgent Error:(147, 25) error: cannot find symbol variable FlurryAgent Error:(148, 25) error: cannot find symbol variable FlurryAgent Error:(150, 25) error: cannot find symbol variable FlurryAgent Error:(151, 25) error: cannot find symbol variable FlurryAgent Error:(153, 25) error: cannot find symbol variable FlurryAgent Error:(154, 25) error: cannot find symbol variable FlurryAgent Error:(161, 21) error: cannot find symbol variable FlurryAgent Error:(177, 13) error: cannot find symbol variable FlurryAgent Error:(187, 9) error: cannot find symbol class FlurryEventRecordStatus Error:(192, 22) error: cannot find symbol variable FlurryAgent Error:(194, 22) error: cannot find symbol variable FlurryAgent Error:(197, 23) error: cannot find symbol variable FlurryEventRecordStatus Error:Execution failed for task ':compileDebugJavaWithJavac'.
and
/Programming/v3/Sketch-Nation-HTML5-Assets/phonegap/sketchnation_android/platforms/android/src/com/blakgeek/cordova/plugin/flurry/FlurryAnalyticsPlugin.java:4: error: package com.flurry.android does not exist import com.flurry.android.Constants; ^ /Programming/v3/Sketch-Nation-HTML5-Assets/phonegap/sketchnation_android/platforms/android/src/com/blakgeek/cordova/plugin/flurry/FlurryAnalyticsPlugin.java:5: error: package com.flurry.android does not exist import com.flurry.android.FlurryAgent; ^ /Programming/v3/Sketch-Nation-HTML5-Assets/phonegap/sketchnation_android/platforms/android/src/com/blakgeek/cordova/plugin/flurry/FlurryAnalyticsPlugin.java:6: error: package com.flurry.android does not exist import com.flurry.android.FlurryEventRecordStatus; ^ /Programming/v3/Sketch-Nation-HTML5-Assets/phonegap/sketchnation_android/platforms/android/src/com/blakgeek/cordova/plugin/flurry/FlurryAnalyticsPlugin.java:69: error: cannot find symbol FlurryAgent.setLocation(latitude, longitude); ^ symbol: variable FlurryAgent location: class FlurryAnalyticsPlugin /Programming/v3/Sketch-Nation-HTML5-Assets/phonegap/sketchnation_android/platforms/android/src/com/blakgeek/cordova/plugin/flurry/FlurryAnalyticsPlugin.java:79: error: cannot find symbol FlurryAgent.onError(args.getString(0), args.getString(1), new Exception(args.getString(1))); ^ symbol: variable FlurryAgent location: class FlurryAnalyticsPlugin /Programming/v3/Sketch-Nation-HTML5-Assets/phonegap/sketchnation_android/platforms/android/src/com/blakgeek/cordova/plugin/flurry/FlurryAnalyticsPlugin.java:89: error: cannot find symbol FlurryAgent.onPageView(); ^ symbol: variable FlurryAgent location: class FlurryAnalyticsPlugin /Programming/v3/Sketch-Nation-HTML5-Assets/phonegap/sketchnation_android/platforms/android/src/com/blakgeek/cordova/plugin/flurry/FlurryAnalyticsPlugin.java:100: error: cannot find symbol FlurryAgent.endTimedEvent(event); ^ symbol: variable FlurryAgent location: class FlurryAnalyticsPlugin /Programming/v3/Sketch-Nation-HTML5-Assets/phonegap/sketchnation_android/platforms/android/src/com/blakgeek/cordova/plugin/flurry/FlurryAnalyticsPlugin.java:102: error: cannot find symbol FlurryAgent.endTimedEvent(event, this.jsonObjectToMap(args.getJSONObject(1))); ^ symbol: variable FlurryAgent location: class FlurryAnalyticsPlugin /Programming/v3/Sketch-Nation-HTML5-Assets/phonegap/sketchnation_android/platforms/android/src/com/blakgeek/cordova/plugin/flurry/FlurryAnalyticsPlugin.java:115: error: cannot find symbol FlurryAgent.setVersionName(options.getString("version")); ^ symbol: variable FlurryAgent location: class FlurryAnalyticsPlugin /Programming/v3/Sketch-Nation-HTML5-Assets/phonegap/sketchnation_android/platforms/android/src/com/blakgeek/cordova/plugin/flurry/FlurryAnalyticsPlugin.java:119: error: cannot find symbol FlurryAgent.setContinueSessionMillis(options.getInt("continueSessionSeconds") * 1000); ^ symbol: variable FlurryAgent location: class FlurryAnalyticsPlugin /Programming/v3/Sketch-Nation-HTML5-Assets/phonegap/sketchnation_android/platforms/android/src/com/blakgeek/cordova/plugin/flurry/FlurryAnalyticsPlugin.java:122: error: cannot find symbol FlurryAgent.setUserId(options.getString("userId")); ^ symbol: variable FlurryAgent location: class FlurryAnalyticsPlugin /Programming/v3/Sketch-Nation-HTML5-Assets/phonegap/sketchnation_android/platforms/android/src/com/blakgeek/cordova/plugin/flurry/FlurryAnalyticsPlugin.java:127: error: cannot find symbol FlurryAgent.setGender(Constants.MALE); ^ symbol: variable Constants location: class FlurryAnalyticsPlugin /Programming/v3/Sketch-Nation-HTML5-Assets/phonegap/sketchnation_android/platforms/android/src/com/blakgeek/cordova/plugin/flurry/FlurryAnalyticsPlugin.java:127: error: cannot find symbol FlurryAgent.setGender(Constants.MALE); ^ symbol: variable FlurryAgent location: class FlurryAnalyticsPlugin /Programming/v3/Sketch-Nation-HTML5-Assets/phonegap/sketchnation_android/platforms/android/src/com/blakgeek/cordova/plugin/flurry/FlurryAnalyticsPlugin.java:129: error: cannot find symbol FlurryAgent.setGender(Constants.FEMALE); ^ symbol: variable Constants location: class FlurryAnalyticsPlugin /Programming/v3/Sketch-Nation-HTML5-Assets/phonegap/sketchnation_android/platforms/android/src/com/blakgeek/cordova/plugin/flurry/FlurryAnalyticsPlugin.java:129: error: cannot find symbol FlurryAgent.setGender(Constants.FEMALE); ^ symbol: variable FlurryAgent location: class FlurryAnalyticsPlugin /Programming/v3/Sketch-Nation-HTML5-Assets/phonegap/sketchnation_android/platforms/android/src/com/blakgeek/cordova/plugin/flurry/FlurryAnalyticsPlugin.java:135: error: cannot find symbol FlurryAgent.setAge(options.getInt("age")); ^ symbol: variable FlurryAgent location: class FlurryAnalyticsPlugin /Programming/v3/Sketch-Nation-HTML5-Assets/phonegap/sketchnation_android/platforms/android/src/com/blakgeek/cordova/plugin/flurry/FlurryAnalyticsPlugin.java:141: error: cannot find symbol FlurryAgent.setLogLevel(Log.VERBOSE); ^ symbol: variable FlurryAgent location: class FlurryAnalyticsPlugin /Programming/v3/Sketch-Nation-HTML5-Assets/phonegap/sketchnation_android/platforms/android/src/com/blakgeek/cordova/plugin/flurry/FlurryAnalyticsPlugin.java:142: error: cannot find symbol FlurryAgent.setLogEnabled(true); ^ symbol: variable FlurryAgent location: class FlurryAnalyticsPlugin /Programming/v3/Sketch-Nation-HTML5-Assets/phonegap/sketchnation_android/platforms/android/src/com/blakgeek/cordova/plugin/flurry/FlurryAnalyticsPlugin.java:144: error: cannot find symbol FlurryAgent.setLogLevel(Log.DEBUG); ^ symbol: variable FlurryAgent location: class FlurryAnalyticsPlugin /Programming/v3/Sketch-Nation-HTML5-Assets/phonegap/sketchnation_android/platforms/android/src/com/blakgeek/cordova/plugin/flurry/FlurryAnalyticsPlugin.java:145: error: cannot find symbol FlurryAgent.setLogEnabled(true); ^ symbol: variable FlurryAgent location: class FlurryAnalyticsPlugin /Programming/v3/Sketch-Nation-HTML5-Assets/phonegap/sketchnation_android/platforms/android/src/com/blakgeek/cordova/plugin/flurry/FlurryAnalyticsPlugin.java:147: error: cannot find symbol FlurryAgent.setLogLevel(Log.INFO); ^ symbol: variable FlurryAgent location: class FlurryAnalyticsPlugin /Programming/v3/Sketch-Nation-HTML5-Assets/phonegap/sketchnation_android/platforms/android/src/com/blakgeek/cordova/plugin/flurry/FlurryAnalyticsPlugin.java:148: error: cannot find symbol FlurryAgent.setLogEnabled(true); ^ symbol: variable FlurryAgent location: class FlurryAnalyticsPlugin /Programming/v3/Sketch-Nation-HTML5-Assets/phonegap/sketchnation_android/platforms/android/src/com/blakgeek/cordova/plugin/flurry/FlurryAnalyticsPlugin.java:150: error: cannot find symbol FlurryAgent.setLogLevel(Log.WARN); ^ symbol: variable FlurryAgent location: class FlurryAnalyticsPlugin /Programming/v3/Sketch-Nation-HTML5-Assets/phonegap/sketchnation_android/platforms/android/src/com/blakgeek/cordova/plugin/flurry/FlurryAnalyticsPlugin.java:151: error: cannot find symbol FlurryAgent.setLogEnabled(true); ^ symbol: variable FlurryAgent location: class FlurryAnalyticsPlugin /Programming/v3/Sketch-Nation-HTML5-Assets/phonegap/sketchnation_android/platforms/android/src/com/blakgeek/cordova/plugin/flurry/FlurryAnalyticsPlugin.java:153: error: cannot find symbol FlurryAgent.setLogLevel(Log.ERROR); ^ symbol: variable FlurryAgent location: class FlurryAnalyticsPlugin /Programming/v3/Sketch-Nation-HTML5-Assets/phonegap/sketchnation_android/platforms/android/src/com/blakgeek/cordova/plugin/flurry/FlurryAnalyticsPlugin.java:154: error: cannot find symbol FlurryAgent.setLogEnabled(true); ^ symbol: variable FlurryAgent location: class FlurryAnalyticsPlugin /Programming/v3/Sketch-Nation-HTML5-Assets/phonegap/sketchnation_android/platforms/android/src/com/blakgeek/cordova/plugin/flurry/FlurryAnalyticsPlugin.java:161: error: cannot find symbol FlurryAgent.setLogEvents(options.getBoolean("enableEventLogging")); ^ symbol: variable FlurryAgent location: class FlurryAnalyticsPlugin /Programming/v3/Sketch-Nation-HTML5-Assets/phonegap/sketchnation_android/platforms/android/src/com/blakgeek/cordova/plugin/flurry/FlurryAnalyticsPlugin.java:177: error: cannot find symbol FlurryAgent.init(cordova.getActivity(), appKey); ^ symbol: variable FlurryAgent location: class FlurryAnalyticsPlugin /Programming/v3/Sketch-Nation-HTML5-Assets/phonegap/sketchnation_android/platforms/android/src/com/blakgeek/cordova/plugin/flurry/FlurryAnalyticsPlugin.java:187: error: cannot find symbol FlurryEventRecordStatus result; ^ symbol: class FlurryEventRecordStatus location: class FlurryAnalyticsPlugin /Programming/v3/Sketch-Nation-HTML5-Assets/phonegap/sketchnation_android/platforms/android/src/com/blakgeek/cordova/plugin/flurry/FlurryAnalyticsPlugin.java:192: error: cannot find symbol result = FlurryAgent.logEvent(eventName, timed); ^ symbol: variable FlurryAgent location: class FlurryAnalyticsPlugin /Programming/v3/Sketch-Nation-HTML5-Assets/phonegap/sketchnation_android/platforms/android/src/com/blakgeek/cordova/plugin/flurry/FlurryAnalyticsPlugin.java:194: error: cannot find symbol result = FlurryAgent.logEvent(eventName, this.jsonObjectToMap(args.getJSONObject(2)), timed); ^ symbol: variable FlurryAgent location: class FlurryAnalyticsPlugin /Programming/v3/Sketch-Nation-HTML5-Assets/phonegap/sketchnation_android/platforms/android/src/com/blakgeek/cordova/plugin/flurry/FlurryAnalyticsPlugin.java:197: error: cannot find symbol if (result == FlurryEventRecordStatus.kFlurryEventRecorded) { ^ symbol: variable FlurryEventRecordStatus location: class FlurryAnalyticsPlugin