Discussion Forums  >  Buzztouch News and Announcements

Replies: 36    Views: 853

David @ buzztouch
buzztouch Evangelist
Profile
Posts: 6866
Reg: Jan 01, 2010
Monterey, CA
78,840
02/01/17 06:36 AM (7 years ago)

Buzztouch 4.0.2 - iOS and Android

Use this thread to discuss issues with the Buzztouch Core for iOS and Android 4.0.2. All control panels have been updated and the download app process will now use 4.0.2. From the release notes included in the package ---------------------------------------- BT_Screens / BT_screen_menuListSimple Selected rows were maintaining their highlighted state on "back" press. Added code to deselect selected row. BT_Core/BT_database The "getBtItemsWithQuery" method was only returning one row from the database regardless of how many items existed. This should return a list of rows, not one. The "updateConfigDataInDatabase" process was changed slightly. This method either updates or inserts rows in the database depending on whether or not an item already exists. In the case of BT_tab items, new Tabs were being inserted every time refresh was used. This meant an app could end up with hundreds of tabs! Obviously not good and for sure caused all sorts of funkyness. This method now deletes previous tabs before inserting new / updated tabs. This is necessary when refreshing back and forth between tabbed apps and non tabbed apps. BT_Images Added BT_Images directory to help folks used to the older approach. In previous version of Buzztouch we recommended dragging images into the BT_Images folder. Xcode doesn't enforce where you drag images into your project, BT_Art would work too. Adding BT_Images again removes some confusion. Background Colors, Tabs, Buttons... This is not a Core issue, this is (was) an issue in the control panel for older apps. If not themeItemId is set in the app's JSON data then all sorts of funkyness happens. Please be sure to set a theme in the control panel (new apps won't have this issue) for older, existing apps. The JSON data for the app must have a non-blank themeItemId.
 
AlanMac
Aspiring developer
Profile
Posts: 2612
Reg: Mar 05, 2012
Esher, UK
37,120
like
02/01/17 09:40 AM (7 years ago)
I thought I'd re-test with the latest Android (4.0.3) today. My test app is BT hosted, which I download and rebuild from scratch every time a new core build comes out. It uses menu simple as it's home screen. All my previous tests have been with this and it has always worked with 4.0.2 and 4.0.1, but today I see a problem - when I run the app, I get: Missing Plugin: The Android class for this screen (BT_screen_menuListSimple) was not compiled into this project. I then updated Android Studio from 2.2.2 to 2.2.3 but it made no difference. So I went back a step and tried the app downloaded with the previous Android core build (4.0.2). I went through exactly the same process bu this app works, which hopefully eliminates my Android Studio configuration and points the finger at 4.0.3. I'm wondering, is anyone else seeing this?
 
Bonzo
Apple Fan
Profile
Posts: 783
Reg: Jan 30, 2012
Basingstoke
13,530
like
02/01/17 12:34 PM (7 years ago)
i have exactly the same on my android project. menu simple with 1 item taking me to customHTML. Working fine on iOS. Missing plugin on Android (issing Plugin: The Android class for this screen (BT_screen_menuListSimple) was not compiled into this project. ) this was a brand new app on BT control panel and not my self hosted panel
 
Bonzo
Apple Fan
Profile
Posts: 783
Reg: Jan 30, 2012
Basingstoke
13,530
like
02/01/17 12:49 PM (7 years ago)
exactly the same with menuButton as the home screen "Missing Plugin: The Android class file for this screen (BT_screen_menuButton) was not compiled in the project"
 
Bonzo
Apple Fan
Profile
Posts: 783
Reg: Jan 30, 2012
Basingstoke
13,530
like
02/01/17 12:52 PM (7 years ago)
does this help anyone? I/ZZ_BT_activity_host: initPluginWithScreenData W/ZZ: BT_activity_host:initPluginWithScreenData. Calling helper method in BT_application W/ZZ: BT_application:initPluginWithScreenData. Creating plugin with JSON itemId: "29C847952EB17115B1A1633" itemType: "BT_screen_menuButtons" itemNickname: "button menu" W/System.err: java.lang.ClassNotFoundException: com.plugintester.ui.bt_plugins.BT_screen_menuButtons W/System.err: at java.lang.Class.classForName(Native Method) W/System.err: at java.lang.Class.forName(Class.java:324) W/System.err: at java.lang.Class.forName(Class.java:285) W/System.err: at com.testing.core.BT_application.initPluginWithScreenData(BT_application.java:514) W/System.err: at com.testing.ui.bt_screens.BT_activity_host.initPluginWithScreenData(BT_activity_host.java:741) W/System.err: at com.testing.ui.bt_screens.BT_activity_host$6.onDataReady(BT_activity_host.java:814) W/System.err: at com.testing.core.BT_application$5$1.run(BT_application.java:431) W/System.err: at android.os.Handler.handleCallback(Handler.java:739) W/System.err: at android.os.Handler.dispatchMessage(Handler.java:95) W/System.err: at android.os.Looper.loop(Looper.java:148) W/System.err: at android.app.ActivityThread.main(ActivityThread.java:5417) W/System.err: at java.lang.reflect.Method.invoke(Native Method) W/System.err: at com.android.internal.os.ZygoteInit$MethodAndArgsCaller.run(ZygoteInit.java:726) W/System.err: at com.android.internal.os.ZygoteInit.main(ZygoteInit.java:616) W/System.err: Caused by: java.lang.ClassNotFoundException: Didn't find class "com.plugintester.ui.bt_plugins.BT_screen_menuButtons" on path: DexPathList[[dex file "/data/data/com.testing/files/instant-run/dex/slice-support-annotations-25.1.0_d38414f7f71dcc5748558e8125485a33bfdccdf0-classes.dex", dex file "/data/data/com.testing/files/instant-run/dex/slice-slice_9-classes.dex", dex file "/data/data/com.testing/files/instant-run/dex/slice-slice_8-classes.dex", dex file "/data/data/com.testing/files/instant-run/dex/slice-slice_7-classes.dex", dex file "/data/data/com.testing/files/instant-run/dex/slice-slice_6-classes.dex", dex file "/data/data/com.testing/files/instant-run/dex/slice-slice_5-classes.dex", dex file "/data/data/com.testing/files/instant-run/dex/slice-slice_4-classes.dex", dex file "/data/data/com.testing/files/instant-run/dex/slice-slice_3-classes.dex", dex file "/data/data/com.testing/files/instant-run/dex/slice-slice_2-classes.dex", dex file "/data/data/com.testing/files/instant-run/dex/slice-slice_1-classes.dex", dex file "/data/data/com.testing/files/instant-run/dex/slice-slice_0-classes.dex", dex file "/data/data/com.testing/files/instant-run/dex/slice-picasso-2.5.2_c9b8d5430849a87e1fdcbddd8c6679f595f926b8-classes.dex", dex file "/data/data/com.testing/files/instant-run/dex/slice-internal_impl-24.0.0_40751e806fe7fb22b5ee89960b7bed215904b497-classes.dex", dex file "/data/data/com.testing/files/instant-run/dex/slice-guava-18.0_e11ced1631feb7c9800790c98fd765d3bed1b86c-classes.dex", dex file "/data/data/com.testing/files/instant-run/dex/slice-gson-2.8.0_5ff59ddf25886ee3bd79a149c0a52ee69bf50807-classes.dex", dex file "/data/data/com.testing/files/instant-run/dex/slice-com.google.firebase-firebase-storage-common-10.0.1_071ec726ac273cda4c8f6cf50ca5425e5d008756-classes.dex", dex file "/data/data/com.testing/files/instant-run/dex/slice-com.google.firebase-firebase-storage-10.0.1_6f4eedce4132ff7dbf84cb7502ddf9d981f6d508-classes.dex", dex file "/data/data/com.testing/files/instant-run/dex/slice-com.google.firebase-firebase-messaging-10.0.1_2198bf9db3a4606cbd1415586ac5078e3a4c196f-classes.dex", dex file "/data/data/com.testing/files/instant-run/dex/slice-com.google.firebase-firebase-iid-10.0.1_a80bc0e2dbfe489e48d2d3fa668e9938ad3adc95-classes.dex", dex file "/data/data/com.testing/files/instant-run/dex/slice-com.google.firebase-firebase-database-connection-10.0.1_80c141319e7f101ea15adc6680d3052e0addc9e2-classes.dex", dex file "/data/data/com.testing/files/instant-run/dex/slice-com.google.firebase-firebase-database-10.0.1_3d9e769c292b26ca9cdf99201d6411d6b4d2e753-classes.dex", dex file "/data/data/com.testing/files/instant-run/dex/slice-com.google.firebase-firebase-crash-10.0.1_db52bc7fecff11f825049ca68888ab81314166f1-classes.dex", dex file "/data/data/com.testing/files/instant-run/dex/slice-com.google.firebase-firebase-config-10.0.1_8fa02ef05e91a34c0a58dd3a6a00d8d08b7906ea-classes.dex", dex file "/data/data/com.testing/files/instant-run/dex/slice-com.google.firebase-firebase-common-10.0.1_1dc1e729ef349a89622ac9d8984e4a5027086f05-classes.dex", dex file "/data/data/com.testing/files/instant-run/dex/slice-com.google.firebase-firebase-auth-10.0.1_30de25d5c4c06db2582cae120821f40ce5073e3e-classes.dex", dex file "/data/data/com.testing/files/instant-run/dex/slice-com.google.firebase-firebase-appindexing-10.0.1_0918dba3f3bce18e9742206ad937353cbaf1c778-classes.dex", dex file "/data/data/com.testing/files/instant-run/dex/slice-com.google.firebase-firebase-analytics-impl-10.0.1_0a9b643d8b1d168bc6e1bd24c9c9fe4ec7cdbc36-classes.dex", dex file "/data/data/com.testing/files/instant-run/dex/slice-com.google.firebase-firebase-analytics-10.0.1_db37affb6c8ca0cc3129bf27da8c64fbeebea830-classes.dex", dex file "/data/data/com.testing/files/instant-run/dex/slice-com.google.android.gms-play-services-wearable-10.0.1_7e5fe27f0b0520adac7b0e22621f87cf0fd9a8cb-classes.dex", dex file "/data/data/com.testing/files/instant-run/dex/slice-com.google.android.gms-play-services-wallet-10.0.1_b28cf7f74d23af8744e9cd8ed6208df92477de7c-cla W/System.err: at dalvik.system.BaseDexClassLoader.findClass(BaseDexClassLoader.java:56) W/System.err: at com.android.tools.fd.runtime.IncrementalClassLoader$DelegateClassLoader.findClass(IncrementalClassLoader.java:90) W/System.err: at java.lang.ClassLoader.loadClass(ClassLoader.java:511) W/System.err: at java.lang.ClassLoader.loadClass(ClassLoader.java:469) W/System.err: ... 14 more W/System.err: Suppressed: java.lang.ClassNotFoundException: Didn't find class "com.plugintester.ui.bt_plugins.BT_screen_menuButtons" on path: DexPathList[[zip file "/data/app/com.testing-1/base.apk"],nativeLibraryDirectories=[/data/app/com.testing-1/lib/x86_64, /vendor/lib64, /system/lib64]] W/System.err: at dalvik.system.BaseDexClassLoader.findClass(BaseDexClassLoader.java:56) W/System.err: at java.lang.ClassLoader.loadClass(ClassLoader.java:511) W/System.err: at java.lang.ClassLoader.loadClass(ClassLoader.java:504) W/System.err: ... 15 more W/System.err: Suppressed: java.lang.ClassNotFoundException: Didn't find class "com.plugintester.ui.bt_plugins.BT_screen_menuButtons" on path: DexPathList[[dex file "/data/data/com.testing/files/instant-run/dex/slice-support-annotations-25.1.0_d38414f7f71dcc5748558e8125485a33bfdccdf0-classes.dex", dex file "/data/data/com.testing/files/instant-run/dex/slice-slice_9-classes.dex", dex file "/data/data/com.testing/files/instant-run/dex/slice-slice_8-classes.dex", dex file "/data/data/com.testing/files/instant-run/dex/slice-slice_7-classes.dex", dex file "/data/data/com.testing/files/instant-run/dex/slice-slice_6-classes.dex", dex file "/data/data/com.testing/files/instant-run/dex/slice-slice_5-classes.dex", dex file "/data/data/com.testing/files/instant-run/dex/slice-slice_4-classes.dex", dex file "/data/data/com.testing/files/instant-run/dex/slice-slice_3-classes.dex", dex file "/data/data/com.testing/files/instant-run/dex/slice-slice_2-classes.dex", dex file "/data/data/com.testing/files/instant-run/dex/slice-slice_1-classes.dex", dex file "/data/data/com.testing/files/instant-run/dex/slice-slice_0-classes.dex", dex file "/data/data/com.testing/files/instant-run/dex/slice-picasso-2.5.2_c9b8d5430849a87e1fdcbddd8c6679f595f926b8-classes.dex", dex file "/data/data/com.testing/files/instant-run/dex/slice-internal_impl-24.0.0_40751e806fe7fb22b5ee89960b7bed215904b497-classes.dex", dex file "/data/data/com.testing/files/instant-run/dex/slice-guava-18.0_e11ced1631feb7c9800790c98fd765d3bed1b86c-classes.dex", dex file "/data/data/com.testing/files/instant-run/dex/slice-gson-2.8.0_5ff59ddf25886ee3bd79a149c0a52ee69bf50807-classes.dex", dex file "/data/data/com.testing/files/instant-run/dex/slice-com.google.firebase-firebase-storage-common-10.0.1_071ec726ac273cda4c8f6cf50ca5425e5d008756-classes.dex", dex file "/data/data/com.testing/files/instant-run/dex/slice-com.google.firebase-firebase-storage-10.0.1_6f4eedce4132ff7dbf84cb7502ddf9d981f6d508-classes.dex", dex file "/data/data/com.testing/files/instant-run/dex/slice-com.google.firebase-firebase-messaging-10.0.1_2198bf9db3a4606cbd1415586ac5078e3a4c196f-classes.dex", dex file "/data/data/com.testing/files/instant-run/dex/slice-com.google.firebase-firebase-iid-10.0.1_a80bc0e2dbfe489e48d2d3fa668e9938ad3adc95-classes.dex", dex file "/data/data/com.testing/files/instant-run/dex/slice-com.google.firebase-firebase-database-connection-10.0.1_80c141319e7f101ea15adc6680d3052e0addc9e2-classes.dex", dex file "/data/data/com.testing/files/instant-run/dex/slice-com.google.firebase-firebase-database-10.0.1_3d9e769c292b26ca9cdf99201d6411d6b4d2e753-classes.dex", dex file "/data/data/com.testing/files/instant-run/dex/slice-com.google.firebase-firebase-crash-10.0.1_db52bc7fecff11f825049ca68888ab81314166f1-classes.dex", dex file "/data/data/com.testing/files/instant-run/dex/slice-com.google.firebase-firebase-config-10.0.1_8fa02ef05e91a34c0a58dd3a6a00d8d08b7906ea-classes.dex", dex file "/data/data/com.testing/files/instant-run/dex/slice-com.google.firebase-firebase-common-10.0.1_1dc1e729ef349a89622ac9d8984e4a5027086f05-classes.dex", dex file "/data/data/com.testing/files/instant-run/dex/slice-com.google.firebase-firebase-auth-10.0.1_30de25d5c4c06db2582cae120821f40ce5073e3e-classes.dex", dex file "/data/data/com.testing/files/instant-run/dex/slice-com.google.firebase-firebase-appindexing-10.0.1_0918dba3f3bce18e9742206ad937353cbaf1c778-classes.dex", dex file "/data/data/com.testing/files/instant-run/dex/slice-com.google.firebase-firebase-analytics-impl-10.0.1_0a9b643d8b1d168bc6e1bd24c9c9fe4ec7cdbc36-classes.dex", dex file "/data/data/com.testing/files/instant-run/dex/slice-com.google.firebase-firebase-analytics-10.0.1_db37affb6c8ca0cc3129bf27da8c64fbeebea830-classes.dex", dex file "/data/data/com.testing/files/instant-run/dex/slice-com.google.android.gms-play-services-wearable-10.0.1_7e5fe27f0b0520adac7b0e22621f87cf0fd9a8cb-classes.dex", dex file "/data/data/com.testing/files/instant-run/dex/slice-com.google.android.gms-play-services-wallet-10.0.1_b28cf7f74d23af8744e9cd8ed6208df92477de7c- W/System.err: at dalvik.system.BaseDexClassLoader.findClass(BaseDexClassLoader.java:56) W/System.err: at com.android.tools.fd.runtime.IncrementalClassLoader$DelegateClassLoader.findClass(IncrementalClassLoader.java:90) W/System.err: at com.android.tools.fd.runtime.IncrementalClassLoader.findClass(IncrementalClassLoader.java:62) W/System.err: at java.lang.ClassLoader.loadClass(ClassLoader.java:511) W/System.err: at java.lang.ClassLoader.loadClass(ClassLoader.java:504) W/System.err: ... 16 more W/System.err: Suppressed: java.lang.ClassNotFoundException: com.plugintester.ui.bt_plugins.BT_screen_menuButtons W/System.err: at java.lang.Class.classForName(Native Method) W/System.err: at java.lang.BootClassLoader.findClass(ClassLoader.java:781) W/System.err: at java.lang.BootClassLoader.loadClass(ClassLoader.java:841) W/System.err: at java.lang.ClassLoader.loadClass(ClassLoader.java:504) W/System.err: ... 17 more W/System.err: Caused by: java.lang.NoClassDefFoundError: Class not found using the boot class loader; no stack trace available W/ZZ: BT_application:initPluginWithScreenData EXCEPTION creating fragment: java.lang.ClassNotFoundException: com.plugintester.ui.bt_screens.BT_screen_menuButtons W/ZZ: BT_fragment_missing:setScreenData JSON itemId: "29C847952EB17115B1A1633" itemType: "BT_screen_menuButtons" itemNickname: "button menu" I/ZZ_BT_activity_host: showFragmentForPlugin
 
AlanMac
Aspiring developer
Profile
Posts: 2612
Reg: Mar 05, 2012
Esher, UK
37,120
like
02/01/17 01:39 PM (7 years ago)
Good to know it isn't just me! I tried again with a different menu for the home page, same outcome. I'm pretty sure the plugins are all in the build.
 
chris1
Code is Art
Profile
Posts: 3862
Reg: Aug 10, 2012
Austin, TX
50,120
like
02/04/17 12:01 AM (7 years ago)
I just pushed an update to the Android project that should fix this issue
 
AlanMac
Aspiring developer
Profile
Posts: 2612
Reg: Mar 05, 2012
Esher, UK
37,120
like
02/04/17 03:07 AM (7 years ago)
Thanks Chris, that seems to have done the trick.
 
Bonzo
Apple Fan
Profile
Posts: 783
Reg: Jan 30, 2012
Basingstoke
13,530
like
02/05/17 01:13 PM (7 years ago)
Android Bugs still: 1. no refresh button on home page in non tabular view (simple menu or button menu as home screen) - tabbed view seems ok 2. simple menu, row names half cut off 3. fixed for iOS but android still has issue where item line is still highlighted when you navigate back to simple menu im fairly new to android so im not sure if its a bug on the tabs. The tabs are at the top of the screen and do not show the icon assigned? do they not appear at the bottom of the screen like iOS?
 
Bonzo
Apple Fan
Profile
Posts: 783
Reg: Jan 30, 2012
Basingstoke
13,530
like
02/08/17 11:37 AM (7 years ago)
@kaybee, have these issues been acknowledged? Are they on a list somewhere?
 
AlanMac
Aspiring developer
Profile
Posts: 2612
Reg: Mar 05, 2012
Esher, UK
37,120
like
02/11/17 12:52 PM (7 years ago)
I thought I'd revisit Android today and I looked at the bugs you posted @Bonzo. I am only testing on BT hosted. I am using the latest version (which now says 1.02, previous was 1.03, no doubt to keep ste with iOS). The row names cut off seems to be a problem the default values for font size and row height not matching very well, but if you tweak the settings, it seems OK. @Chris1 advised me that the Android tabs positioning is down to the version of android on your device. Generally with Andoroid 5 and beyond it is at the top, earlier is at the bottom. I'm not seeing the back item line is still highlighted. I am seeing a problem with refresh crashing occassionally on refresh, but I haven't looked into why yet - could be me. Cheers, Alan
 
AlanMac
Aspiring developer
Profile
Posts: 2612
Reg: Mar 05, 2012
Esher, UK
37,120
like
02/11/17 01:57 PM (7 years ago)
Oh and I just removed all my tabs and I found, as you have, the 'Refresh All Data' button is not visible on the home page.
 
miku
Aspiring developer
Profile
Posts: 405
Reg: Feb 20, 2014
zagorje ob savi
10,600
like
02/14/17 09:29 AM (7 years ago)
I tried 4.0.2 for Android: just 1 CustomHTML screen, error is: Error:(70) Error: @+id/txtScore is not a sibling in the same RelativeLayout [NotSibling] Error:Execution failed for task ':app:lintVitalRelease'. > Lint found fatal errors while assembling a release target. To proceed, either fix the issues identified by lint, or modify your build script as follows: ... android { lintOptions { checkReleaseBuilds false // Or, if you prefer, you can continue to check for errors in release builds, // but continue the build even when errors are found: abortOnError false } } ...
 
FunkyMonkey
Aspiring developer
Profile
Posts: 1177
Reg: Aug 07, 2013
blackpool
14,570
like
02/16/17 10:53 AM (7 years ago)
hi guys, im getting Missing Plugin: The Android class for this screen (BT_menuitem) was not compiled into this project. when launching app on live device when download project its called xxxxxxxxxx_Android_BTv4.0.2 In release notes sais 4.04 is there something im doing wrong. this is project im downloading from here. works fine on IOS im using menu buttons as first screen Cheers Sean
 
330ministries
buzztouch Evangelist
Profile
Posts: 15
Reg: Sep 19, 2012
Owasso, OK
2,900
like
02/16/17 03:55 PM (7 years ago)
Friends, I'm obviously missing something with the new version for Android and getting all sorts of errors - ie., picasso does not exist, multidex does not exist, gson, firebase, etc. I'm using the same Android Studio I used a month ago with the same settings in Gradle (see below). Any help would be greatly appreciated. Project Gradle: // Top-level build file where you can add configuration options common to all sub-projects/modules. buildscript { repositories { jcenter() } dependencies { classpath 'com.android.tools.build:gradle:1.5.0' // NOTE: Do not place your application dependencies here; they belong // in the individual module build.gradle files } } allprojects { repositories { jcenter() } } ---------- App Gradle: apply plugin: 'com.android.application' android { compileSdkVersion 23 buildToolsVersion '23.0.2' useLibrary 'org.apache.http.legacy' defaultConfig { applicationId "com.applicationname" minSdkVersion 14 targetSdkVersion 19 versionCode 1 versionName "1.0" } buildTypes { release { minifyEnabled false proguardFiles getDefaultProguardFile('proguard-android.txt'), 'proguard-rules.pro' } } productFlavors { } } dependencies { //compile possible .jar files in the libs directory... compile fileTree(dir: 'libs', include: ['*.jar']) //Google Play Services for Google Cloud Messaging and Google Maps... compile 'com.android.support:appcompat-v7:23.1.1' compile 'com.android.support:design:23.0.1' compile 'com.google.android.gms:play-services-base:8.4.0' compile 'com.google.android.gms:play-services-appindexing:8.4.0' }
 
AlanMac
Aspiring developer
Profile
Posts: 2612
Reg: Mar 05, 2012
Esher, UK
37,120
like
02/17/17 03:58 AM (7 years ago)
Hi guys, in the light ofthe above problems, I wanted to see if my setup is still OK. I just downloaded my latest Android project today, opened it in Android Studio and it compiled and installed OK, which suggests it is not a universal problem. I am not sure if that is comforting but I thought I'd let you guys know. My Android Studio is up to date and I am only using plugins that I know to be OK with BT4.
 
FunkyMonkey
Aspiring developer
Profile
Posts: 1177
Reg: Aug 07, 2013
blackpool
14,570
like
02/17/17 04:41 AM (7 years ago)
Hi Alan, thanks for that, im using the latest version of studio, and a project downloaded from yesterday, the app loads ok, no errors, it just shows missing plugin screen for the first screen, which is menubuttons, i will download fresh copy and try again, thanks sean Update, just re downloaded and still the same error in the menu buttons, saying i have a missing plugin on the device, bearing in mind this is also s fresh download of android studio (yesterday) Thanks sean anyone know how to convert and use eclipse instead
 
330ministries
buzztouch Evangelist
Profile
Posts: 15
Reg: Sep 19, 2012
Owasso, OK
2,900
like
02/17/17 06:49 AM (7 years ago)
Friends, I'm obviously missing something with the new version for Android and getting all sorts of errors - ie., picasso does not exist, multidex does not exist, gson, firebase, etc. I'm using the same Android Studio I used a month ago with the same settings in Gradle (see below). Any help would be greatly appreciated. Project Gradle: // Top-level build file where you can add configuration options common to all sub-projects/modules. buildscript { repositories { jcenter() } dependencies { classpath 'com.android.tools.build:gradle:1.5.0' // NOTE: Do not place your application dependencies here; they belong // in the individual module build.gradle files } } allprojects { repositories { jcenter() } } ---------- App Gradle: apply plugin: 'com.android.application' android { compileSdkVersion 23 buildToolsVersion '23.0.2' useLibrary 'org.apache.http.legacy' defaultConfig { applicationId "com.applicationname" minSdkVersion 14 targetSdkVersion 19 versionCode 1 versionName "1.0" } buildTypes { release { minifyEnabled false proguardFiles getDefaultProguardFile('proguard-android.txt'), 'proguard-rules.pro' } } productFlavors { } } dependencies { //compile possible .jar files in the libs directory... compile fileTree(dir: 'libs', include: ['*.jar']) //Google Play Services for Google Cloud Messaging and Google Maps... compile 'com.android.support:appcompat-v7:23.1.1' compile 'com.android.support:design:23.0.1' compile 'com.google.android.gms:play-services-base:8.4.0' compile 'com.google.android.gms:play-services-appindexing:8.4.0' }
 
330ministries
buzztouch Evangelist
Profile
Posts: 15
Reg: Sep 19, 2012
Owasso, OK
2,900
like
02/17/17 07:25 AM (7 years ago)
I updated Android Studio and have no more errors. However, when I ran the app, I discovered that: (1) My configuration data was blank in the package I downloaded (self-hosted). (2) Once I copied it over, I ran a check on JSON data and found an error - It has duplicated part of the data at the beginning of it as seen below ("itemId": "4895efb21996a994dc15e0a", "itemType": "WB_screen_menuImage", "itemNickname": "Main",) This is on a menu image plugin: "BT_screens":[ {"itemId":"4895efb21996a994dc15e0a", "itemType":"WB_screen_menuImage", "itemNickname":"Main", "itemId": "4895efb21996a994dc15e0a", "itemType": "WB_screen_menuImage", "itemNickname": "Main", "navBarTitleText": "Catoosa OK", "imageFileName": "header.png", "backgroundColor": "#FFFFFF", "listBackgroundColor": "#FFFFFF", "listRowHeightSmallDevice": "55", "listTitleFontSizeSmallDevice": "16", "listRowHeightLargeDevice": "80", "listTitleFontSizeLargeDevice": "25" (3) I manually fixed this in the configuration data and then get the missing plugin issue that is mentioned above. Any ideas how to fix any of this? I'm working on a deadline and need to push this app through. Thanks!
 
David @ buzztouch
buzztouch Evangelist
Profile
Posts: 6866
Reg: Jan 01, 2010
Monterey, CA
78,840
like
02/17/17 10:18 AM (7 years ago)
@330ministries I wouldn't worry too much about the duplicate keys in the JSON data. This isn't ideal but it's not their accidentally. In iOS / Android it doesn't cause a problem. Indeed this JSON structure will fail to validate using a JSON validator tool because "duplicate keys are invalid." Anyway, good catch but this isn't related to your issue. If you're getting a Missing Plugin screen it means the Java code in your project cannot find a plugin's .java file with the itemType. Example: If you're project does not contain a WB_screen_menuImage.java file then it won't work. This of course is the WB_screen_menuImage.java file included in the plugin package. If you don't have a WB_screen_menuImage.java file then something is wrong. On Self Hosted these files are injected into your download when you click "Package this project." The files themselves come from your self hosted panel. Said another way...this plugin needs to be installed on your self hosted panel or it won't find it or include it. Additionally, Plugin files on your install should all have a 4.0 folder. Example: WB_screen_menuImage/source-android-4.0, WB_screen_menuImage/source-ios-4.0 Thinking this... a) make sure you have the WB_screen_menuImage package in your /plugins folder on your self hosted machine. b) make sure the plugins in your /plugins directory (on your server) do indeed have source-android-4.0, source-ios-4.0 directories. If they do not, update them. Give it a go? I wouldn't worry too much about the JSON until you're sure the plugins are being included in your project properly first.
 
FunkyMonkey
Aspiring developer
Profile
Posts: 1177
Reg: Aug 07, 2013
blackpool
14,570
like
02/17/17 10:50 AM (7 years ago)
hi david, that was the first thing i did, check the plugins folder in the project, the other plugin i use in it, menu rows was there, but not menu buttons, i thought this was a buzz plugin, i know you made it, i also looked at the plugin market and its not there, so is menu button plugin not available, im downloading the package from buzztouch. ive even used app copier and transfered the app over to my self host and looked at the app there, but theres no sign of menu buttons even after i download the package from my self hosted. thanks Sean
 
330ministries
buzztouch Evangelist
Profile
Posts: 15
Reg: Sep 19, 2012
Owasso, OK
2,900
like
02/18/17 08:25 AM (7 years ago)
I updated Android Studio and have no more errors. However, when I ran the app, I discovered that: (1) My configuration data was blank in the package I downloaded (self-hosted). (2) Once I copied it over, I ran a check on JSON data and found an error - It has duplicated part of the data at the beginning of it as seen below ("itemId": "4895efb21996a994dc15e0a", "itemType": "WB_screen_menuImage", "itemNickname": "Main",) This is on a menu image plugin: "BT_screens":[ {"itemId":"4895efb21996a994dc15e0a", "itemType":"WB_screen_menuImage", "itemNickname":"Main", "itemId": "4895efb21996a994dc15e0a", "itemType": "WB_screen_menuImage", "itemNickname": "Main", "navBarTitleText": "Catoosa OK", "imageFileName": "header.png", "backgroundColor": "#FFFFFF", "listBackgroundColor": "#FFFFFF", "listRowHeightSmallDevice": "55", "listTitleFontSizeSmallDevice": "16", "listRowHeightLargeDevice": "80", "listTitleFontSizeLargeDevice": "25" (3) I manually fixed this in the configuration data and then get the missing plugin issue that is mentioned above. Any ideas how to fix any of this? I'm working on a deadline and need to push this app through. Thanks!
 
AlanMac
Aspiring developer
Profile
Posts: 2612
Reg: Mar 05, 2012
Esher, UK
37,120
like
02/18/17 08:44 AM (7 years ago)
The blank configuration data was a bug I saw when BT 4 was first released, I thought that was solved with a later bugfix. A further update for self hosted has just been released, worth trying that. The missing plugin error is seen if you are using a BT3 plugin that has not been updated for BT4. Menu with Image was updated in the market 25th January, always worth checking to see that you have the latest in your build.
 
FunkyMonkey
Aspiring developer
Profile
Posts: 1177
Reg: Aug 07, 2013
blackpool
14,570
like
02/18/17 08:51 AM (7 years ago)
mine is with menu buttons Alan, im presuming its been updated as its a buzz plugin, any idea what im doing wrong cheers sean
 
330ministries
buzztouch Evangelist
Profile
Posts: 15
Reg: Sep 19, 2012
Owasso, OK
2,900
like
02/18/17 08:57 AM (7 years ago)
@David, Thanks. That helps. I checked the project. Before I imported the downloaded project into Android Studio, I have all the java files for the plugins listed under src/com/projectname/. However, you're right - In Android studio, I have nothing listed under java/projectname/ui/bt_plugins. I checked my server. I don't have a 4.0 folder. On the self-hosted, my plugins (and earlier this month I updated all the ones that had new versions) are found under public_html/acc/files/plugins. How do you suggest I correct this?
 
AlanMac
Aspiring developer
Profile
Posts: 2612
Reg: Mar 05, 2012
Esher, UK
37,120
like
02/18/17 09:59 AM (7 years ago)
Sean, what you are doing wrong is you are not using menu buttons plus - lol.
 
AlanMac
Aspiring developer
Profile
Posts: 2612
Reg: Mar 05, 2012
Esher, UK
37,120
like
02/18/17 10:07 AM (7 years ago)
Seriously though Sean, no idea why buttons doesn't work for you. BT_menuitem is a component of Menu buttons, sounds like it is missing. Why, I don't know. I have a BT 4 test app with it in on BT hosted, Android, it's all there (for me). Try menu buttons plus; I know you already use it for ios, its good for Android too. I released a little update a couple of days ago, if you spot any wierdness, let me know.
 
330ministries
buzztouch Evangelist
Profile
Posts: 15
Reg: Sep 19, 2012
Owasso, OK
2,900
like
02/18/17 11:51 AM (7 years ago)
@David, Thanks. That helps. I checked the project. Before I imported the downloaded project into Android Studio, I have all the java files for the plugins listed under src/com/projectname/. However, you're right - In Android studio, I have nothing listed under java/projectname/ui/bt_plugins. I checked my server. I don't have a 4.0 folder. On the self-hosted, my plugins (and earlier this month I updated all the ones that had new versions) are found under public_html/acc/files/plugins. How do you suggest I correct this?
 
FunkyMonkey
Aspiring developer
Profile
Posts: 1177
Reg: Aug 07, 2013
blackpool
14,570
like
02/18/17 02:58 PM (7 years ago)
Thanks Alan, you know since you released menu plus, Ive used it in all my apps, i was trying to update an old app and save redoing it, i used menu buttons in that app, guess i will just have to redo it as everybody elses seams to work fine, you know how tetchy Android is lol thanks sean
 
Bonzo
Apple Fan
Profile
Posts: 783
Reg: Jan 30, 2012
Basingstoke
13,530
like
02/21/17 02:56 AM (7 years ago)
i have the same a @Miku above when trying to build release APK any ideas? Error: @+id/txtScore is not a sibling in the same RelativeLayout [NotSibling] Error:Execution failed for task ':app:lintVitalRelease'. > Lint found fatal errors while assembling a release target. To proceed, either fix the issues identified by lint, or modify your build script as follows: ... android { lintOptions { checkReleaseBuilds false // Or, if you prefer, you can continue to check for errors in release builds, // but continue the build even when errors are found: abortOnError false } } ...
 
Bonzo
Apple Fan
Profile
Posts: 783
Reg: Jan 30, 2012
Basingstoke
13,530
like
02/21/17 03:21 AM (7 years ago)
@Miku, its a temporary fix (if you are not using the quiz plugin)..... remove the reference to in bt_screen_quiz.xml Under: <Button android:id="@+id/btnAnswer_1" android:layout_width="fill_parent" android:layout_height="58dip" android:gravity="center_vertical|center_horizontal" android:layout_marginLeft="5dip" android:layout_marginRight="5dip" android:text="Answer 1" android:textSize="18dip" android:layout_below="@+id/txtScore" /> delete the last line: android:layout_below="@+id/txtScore" worked for me and allowed me to continue my release build
 
Chris from Staffor...
Aspiring developer
Profile
Posts: 335
Reg: Oct 14, 2013
Stafford
5,750
like
04/25/17 01:41 PM (7 years ago)
I've managed to finally get somewhere in iOS but Android has me stumped I have no top refresh button Back ground colours are not working on menu with image on screens or menu items as they should If you change colours on the control panel the app doesn't update on my Android device PDF's only work if compiled in the project - it won't download PDF's from external locations Has anyone successfully compiled an Android Project ?
 
AlanMac
Aspiring developer
Profile
Posts: 2612
Reg: Mar 05, 2012
Esher, UK
37,120
like
04/25/17 02:26 PM (7 years ago)
These are all bugs in the current Android BT4. They are known to the devs, we have been waiting for a fix for a while...
 
330ministries
buzztouch Evangelist
Profile
Posts: 15
Reg: Sep 19, 2012
Owasso, OK
2,900
like
04/25/17 03:07 PM (7 years ago)
I haven't been able to get any new Android apps out either. However, as a temporary fall-back, I'm copying other projects from just before the update that have all the plugins I need, changing the project name and then copying the new Configuration Data into it. It's not ideal but it's getting us through for now.
 
Chris from Staffor...
Aspiring developer
Profile
Posts: 335
Reg: Oct 14, 2013
Stafford
5,750
like
04/29/17 01:03 AM (7 years ago)
Message to the developers - could you please post here when the Android BT4 is fixed Thanks
 
Chris from Staffor...
Aspiring developer
Profile
Posts: 335
Reg: Oct 14, 2013
Stafford
5,750
like
04/29/17 04:40 PM (7 years ago)
Message to the developers - could you please post here when the Android BT4 is fixed Thanks
 
bfoutty
Code is Art
Profile
Posts: 185
Reg: Jun 12, 2011
Youngstown, OH
12,650
like
06/15/17 11:19 AM (7 years ago)
Buzztouch team, In BT 4.0.2 the built in login functionality is not working. I am using the Control Panel to authenticate. I get invalid credentials for every login and password I have created in the app's control panel. I don't think I am missing anything as I have been using this functionality in one of my apps for years and the settings have not changed. Thanks.
 

Login + Screen Name Required to Post

pointerLogin to participate so you can start earning points. Once you're logged in (and have a screen name entered in your profile), you can subscribe to topics, follow users, and start learning how to make apps like the pros.