No, I checked it 10 times or so. And my files even don't call it "b1" anymore. I changed the filename and the code to "brick1" but it still says it can't find b1. I think theotoen is just stuck on it
No picture recognition
Moderator: Plugin Moderators
- Josh
- Graphic designer
- Reactions:
- Posts: 2214
- Joined: 11 Mar 2017, 19:20
- Location: The Netherlands
- Plugins: Showcase Store
- Version: Beta
-
Plugin Creator
Platform
Re: No picture recognition
- Lobby
- Developer
- Reactions:
- Posts: 3705
- Joined: 26 Oct 2008, 12:34
- Plugins: Showcase Store
- Version: Beta
-
Platform
Re: No picture recognition
Memory in Android can be a nasty thing, but this is really strange. You might try to reboot the device.
Another thing is you might rename the plugins directory so the game shouldn't find any plugins anymore. After that you can hopefully get it running again.
Another thing is you might rename the plugins directory so the game shouldn't find any plugins anymore. After that you can hopefully get it running again.
- CommanderABab
- AB
- Reactions:
- Posts: 11107
- Joined: 07 Jun 2016, 21:12
- Plugins: Showcase Store
- Version: Beta
-
Plugin Creator
Platform
Re: No picture recognition
Have you taken Theotown out of your active tasks between iterations of the plugin?
- Josh
- Graphic designer
- Reactions:
- Posts: 2214
- Joined: 11 Mar 2017, 19:20
- Location: The Netherlands
- Plugins: Showcase Store
- Version: Beta
-
Plugin Creator
Platform
Re: No picture recognition
Renaming the folder helped, but then somehow automitically another plugins folder was created, so I placed all my plugins there. A result if it is that all my placed plugins such as highway barriers disaepered. I am lucky they were only not a lot and replaceble
- Lobby
- Developer
- Reactions:
- Posts: 3705
- Joined: 26 Oct 2008, 12:34
- Plugins: Showcase Store
- Version: Beta
-
Platform
Re: No picture recognition
Something like that:
To be able to access external storage you also have to ensure that your app has the needed rights to do so.
Code: Select all
File dir = new File(Environment.getExternalStorageDirectory(), "TheoTown/plugins");
dir.mkdirs();