Discussion Forums  >  Plugins, Customizing, Source Code

Replies: 21    Views: 94

theGreek
Aspiring developer
Profile
Posts: 648
Reg: May 25, 2011
Schaumburg, IL
7,830
08/21/12 07:31 AM (11 years ago)

Bug Tapper example error

I'm receiving the following errors when building. Clean also fails... Backgground. Added the Plugin to BT2.0 that I created via BT plugin panel. Created the screen as outlined in the video in BT2.0. Downloaded source and added to eclipse. My other projects are all fine. Could this be a case sensitive issue when I created the plugin? I tried most all the fixes associated with this error I found on-line. [2012-08-21 09:22:10 - bugtappergame] (skipping hidden file 'C:UsersGregDesktopugtappergame-8212012 esdrawable.DS_Store') [2012-08-21 09:22:10 - bugtappergame] (skipping hidden file 'C:UsersGregDesktopugtappergame-8212012 eslayout.DS_Store') [2012-08-21 09:22:10 - bugtappergame] reslayoutmenu_list_rowsimpleadvancedBackup.xml: Invalid file name: must contain only [a-z0-9_.] [2012-08-21 09:22:10 - bugtappergame] reslayoutscreen_menulistsimpleadvancedBackup.xml: Invalid file name: must contain only [a-z0-9_.]
 
Paul Rogers
Android Fan
Profile
Posts: 2524
Reg: May 30, 2011
UK
35,740
like
08/21/12 08:00 AM (11 years ago)
menulistsimpleadvancedBackup.xml: Invalid file name: must contain only a-z0-9_ Answered your own question I think? (Capital B in Backup)
 
David @ buzztouch
buzztouch Evangelist
Profile
Posts: 6866
Reg: Jan 01, 2010
Monterey, CA
78,840
like
08/21/12 08:16 AM (11 years ago)
Hi in IL. It looks like a "hidden file" is getting into the package: eslayout.DS_Store The ".DS_Store" is a clue. Could it be that you're using Dreamweaver (the Adobe product) to modify the source files? I ask because Dreamweaver sometimes creates hidden files that begin with "DS_Store." See if you can find any hidden files in your directory folders for source-ios and source-android. If you're running this on a self hosted server, check the "remote" files too (if you uploaded them to your website). Not sure what your setup is.
 
Paul Rogers
Android Fan
Profile
Posts: 2524
Reg: May 30, 2011
UK
35,740
like
08/21/12 08:29 AM (11 years ago)
So a capital letter in an xml file is ok? Is it just convention rather than requirement?
 
theGreek
Aspiring developer
Profile
Posts: 648
Reg: May 25, 2011
Schaumburg, IL
7,830
like
08/21/12 08:59 AM (11 years ago)
I dont use anything. I just unzipped and added the project to eclipse is all. But I will look for the hidden files.
 
David @ buzztouch
buzztouch Evangelist
Profile
Posts: 6866
Reg: Jan 01, 2010
Monterey, CA
78,840
like
08/21/12 09:03 AM (11 years ago)
Ah, OK, good to know. Did you download it from buzztouch.com or from a self hosted panel? It could be that the .DS_Store hidden file is already part of the example package (coming from us). In this case I'll need to find it and get rid of it! LOL. We look for this stuff but may have missed it.
 
GoNorthWest
buzztouch Evangelist
Profile
Posts: 8197
Reg: Jun 24, 2011
Oro Valley, AZ
1,000,000
like
08/21/12 09:19 AM (11 years ago)
My understanding of the Menu Simple Advanced plugin from buzztouchmods.com is that it's not supported on Android: https://www.buzztouchmods.com/downloads.php?cat_id=1&download_id=13 And it says this: IOS ONLY GUYS! @MrDavid told me it wasn't supported after I spend some time debugging a user who was trying to use it. Others have told me they are able to get it working with some tweaks. Mark
 
theGreek
Aspiring developer
Profile
Posts: 648
Reg: May 25, 2011
Schaumburg, IL
7,830
like
08/21/12 09:29 AM (11 years ago)
I downloaded it from my self-hosted....
 
theGreek
Aspiring developer
Profile
Posts: 648
Reg: May 25, 2011
Schaumburg, IL
7,830
like
08/21/12 09:30 AM (11 years ago)
@Mark - At the moment all I have is a splash screen and the Bug screen. No menu list at all.
 
GoNorthWest
buzztouch Evangelist
Profile
Posts: 8197
Reg: Jun 24, 2011
Oro Valley, AZ
1,000,000
like
08/21/12 09:38 AM (11 years ago)
OK. I was thinking maybe it was causing errors that are preventing you from getting the app compiled. That's what happened with the others I worked with. Mark
 
David @ buzztouch
buzztouch Evangelist
Profile
Posts: 6866
Reg: Jan 01, 2010
Monterey, CA
78,840
like
08/21/12 10:01 AM (11 years ago)
@gbakakos: OK, good to know. Verify you did this, so I can be sure of where to look for the .DS_Store file... a) Watched the video. b) Created simple custom plugin (blank at this point) c) Download the plugin package (from your buzztouch.com panel) d) Uploaded it to your self hosted server, added it to an app d) Downloaded your app project from the self hosted panel e) Opened project in Eclipse and saw the error I think this is the workflow you used. Make corrections as needed so I know.
 
coderx
Veteran developer
Profile
Posts: 433
Reg: Oct 29, 2011
Ontario, Canada
8,680
like
08/21/12 10:13 AM (11 years ago)
@GoNorthWest is totally right. Menulistadvanced is a third party plugin that is not supported on Android. Do this to fix your problem. 1. Delete these files src/com/appname/BT_screen_menuListSimpleAdvanced.java src/com/appname/BT_screen_menuListSimpleAdvancedBackup.java res/layout/menu_list_rowsimpleadvancedBackup.xml res/layout/screen_menulistsimpleadvanced.xml res/layout/screen_menulistsimpleadvancedBakup.xml 2. open eclipse and import source as per the instructions.pdf 3. open the BT_fileManager.java file 4. Do a search and replace on the above file. Replace sparrakortenandroid_appDelegate with yourappname_appDelegate That's it! Build and run ...
 
David @ buzztouch
buzztouch Evangelist
Profile
Posts: 6866
Reg: Jan 01, 2010
Monterey, CA
78,840
like
08/21/12 10:17 AM (11 years ago)
Ah, I was thinking of something different. YES, if this plugin (the third party one) is installed on the self hosted server, it WILL be included in the app download even if the app only contains one screen. I was thinking it was not included - it could be and probably is.
 
theGreek
Aspiring developer
Profile
Posts: 648
Reg: May 25, 2011
Schaumburg, IL
7,830
like
08/21/12 10:38 AM (11 years ago)
Yes I did have the 3rd party plugin installed. Thanks much. That cleared up the errors. I'm assuming that the ".DS_Store" is not caused by that? or is it? Need to remember that for Android. Thanks @David, @coderx @GoNorthWest @rayved it not runs clean...
 
GoNorthWest
buzztouch Evangelist
Profile
Posts: 8197
Reg: Jun 24, 2011
Oro Valley, AZ
1,000,000
like
08/21/12 10:39 AM (11 years ago)
Isn't .DS_Store caused by compression of folders (zipping them up!) on a Mac? Mark
 
coderx
Veteran developer
Profile
Posts: 433
Reg: Oct 29, 2011
Ontario, Canada
8,680
like
08/21/12 10:39 AM (11 years ago)
@gbakakos the .DS_Store is 99% of time ignored by Eclipse. At least on my current setup it is. Glad you got your errors fixed up.
 
coderx
Veteran developer
Profile
Posts: 433
Reg: Oct 29, 2011
Ontario, Canada
8,680
like
08/21/12 10:41 AM (11 years ago)
@Mark Mac creates the files to attribute to folder, icon positioning.. I think... But its usually in every folder so I assume it has to do with folder attribution.
 
GoNorthWest
buzztouch Evangelist
Profile
Posts: 8197
Reg: Jun 24, 2011
Oro Valley, AZ
1,000,000
like
08/21/12 10:44 AM (11 years ago)
Yep, looks like you're right! From Wikipedia: ".DS_Store (Desktop Services Store)[1] is a proprietary format hidden file created by Apple Inc.'s Mac OS X operating system to store custom attributes of a folder such as the position of icons or the choice of a background image." http://en.wikipedia.org/wiki/.DS_Store Learn something new everyday! Mark
 
coderx
Veteran developer
Profile
Posts: 433
Reg: Oct 29, 2011
Ontario, Canada
8,680
like
08/21/12 10:57 AM (11 years ago)
Thanks for that Mark. I wish we couldn't see the file though * permanently* :)
 
David @ buzztouch
buzztouch Evangelist
Profile
Posts: 6866
Reg: Jan 01, 2010
Monterey, CA
78,840
like
08/21/12 11:14 AM (11 years ago)
You can show hidden files on Mac OSX if you want. I turn it on an off using the terminal. I was thinking Dreamweaver's text editor - need rest! LOL. Turn on "show hidden files" in Mac OSX Finder: Open a terminal window then type... $ defaults write com.apple.finder AppleShowAllFiles TRUE $ killall Finder Finder will die, then re-launch. Hidden files will be displayed when you browse directories. When it annoys you enough (it's ugly looking at these scary ass mystery files!) Reverse the order.. $ defaults write com.apple.finder AppleShowAllFiles FALSE $ killall Finder
 
coderx
Veteran developer
Profile
Posts: 433
Reg: Oct 29, 2011
Ontario, Canada
8,680
like
08/21/12 11:42 AM (11 years ago)
@David: hahah:) thanks for that David. You need rest for sure buddy:) You know how I know you do....The second part to get rid of the "hidden files" you would put: $ defaults write com.apple.finder AppleShowAllFiles FALSE :)
 
mrDavid
BTMods.com
Profile
Posts: 3936
Reg: May 21, 2011
San Diego, CA
51,910
like
08/21/12 11:01 PM (11 years ago)
Great discussion! There is a way to use Menu List Advanced with android if you end up needing the plugin for your app: https://www.buzztouchmods.com/downloads.php?cat_id=3&download_id=29 Cheers, David buzztouchmods.com
 

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.