Comments (4)
androidStringsInStringFile = AndroidString.getAndroidStringsList(clickedFile.contentsToByteArray());
from androidlocalizationer.
this is working for my other apps without this error.
There is something in my strings.xml file that the plugin doesn't like, but I can't figure out what it is.
from androidlocalizationer.
not sure why above strings.xml file is causing the AndroidLocalizationer plugin to crash, but my other strings.xml files on my other apps are working fine with the plugin.
from androidlocalizationer.
I found the issue.
Two of my strings had an extra space after the string name and before the >:
<string name="premium_feature_dialog_title" >Premium Feature</string>
<string name="premium_feature_dialog_button" >Premium Version Info</string>
Changed to:
<string name="premium_feature_dialog_title">Premium Feature</string>
<string name="premium_feature_dialog_button">Premium Version Info</string>
Now the plugin is working correctly again.
from androidlocalizationer.
Related Issues (20)
- It doesn't translate String Arrays
- cannot use in Android Studio 2.2.2
- don't work HOT 2
- "values-bs-rHK" not found
- Android string.xml localization threw an uncaught IllegalStateException.
- IllegalStateException: This is not a JSON Array. HOT 3
- It doesn`t support Android Studio2.3 HOT 4
- as 3.0 fail to install
- NullPointerException : GetTranslationTask.getTranslationEngineResult(GetTranslationTask.java:142) HOT 6
- NullPointerException HOT 3
- cant convert to more than 5 languages at once or get nullpointer
- Android Localizationer threw an uncaught PluginException HOT 2
- Language conversion -> NullPointerException HOT 2
- Android Localizationer threw an uncaught StringIndexOutOfBoundsException HOT 1
- how can i use the xml convert to excel file function?
- Escaped characters
- translatable="false"
- Lithuanian
- Translation failure: Failed to translate : cannot retry due to redirection, in streaming mode
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from androidlocalizationer.