1. Are you ready for the Galaxy S20? Here is everything we know so far!

File name character cn on Android Studio when build apk

Discussion in 'Android Development' started by kamenrider, Jul 19, 2017.

  1. kamenrider

    kamenrider Lurker
    Thread Starter

    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?
     


  2. mikedt

    mikedt 你好

    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.
     
    kamenrider likes this.
Loading...
Similar Threads - File name character
  1. Mr Manos
    Replies:
    1
    Views:
    46
  2. Ken Ledger
    Replies:
    1
    Views:
    59
  3. RacoonCastle
    Replies:
    8
    Views:
    91
  4. hawkeyefxr
    Replies:
    2
    Views:
    143
  5. thetalk
    Replies:
    1
    Views:
    134
  6. BerenTol
    Replies:
    0
    Views:
    148
  7. mnewsome
    Replies:
    1
    Views:
    112
  8. Biffos
    Replies:
    8
    Views:
    330
  9. Technomax
    Replies:
    3
    Views:
    351
  10. TB8
    Replies:
    9
    Views:
    531

Share This Page

Loading...