• After 15+ years, we've made a big change: Android Forums is now Early Bird Club. Learn more here.

Apps File name character cn on Android Studio when build apk

kamenrider

Lurker
Jul 19, 2017
1
0
I had a file android project with file name chinese character in layout. And i want to build apk but got this error

E:\app\src\main\res\layout\????.xml: Error: '?' is not a valid file-based resource name character: File-based resource names must contain only lowercase a-z, 0-9, or underscore

Is Android studio cant build apk with chinese character file named? i already set to UTF-8. or may theres another setting to android studio for read chinese character?
 
I had a file android project with file name chinese character in layout. And i want to build apk but got this error

E:\app\src\main\res\layout\????.xml: Error: '?' is not a valid file-based resource name character: File-based resource names must contain only lowercase a-z, 0-9, or underscore

Is Android studio cant build apk with chinese character file named? i already set to UTF-8. or may theres another setting to android studio for read chinese character?

I'm not a developer, but that sounds like it could be correct. Chinese app developers very probably use Pinyin spelling(minus the diacritics) instead of actual Chinese characters, when developing in Android Studio.
 
  • Like
Reactions: kamenrider
Upvote 0

BEST TECH IN 2023

We've been tracking upcoming products and ranking the best tech since 2007. Thanks for trusting our opinion: we get rewarded through affiliate links that earn us a commission and we invite you to learn more about us.

Smartphones