Android Question Image Add Error !!!

Discussion in 'Android Questions' started by AbbasMohammed, Jun 26, 2015.

  1. AbbasMohammed

    AbbasMohammed Member Licensed User

    I have this error!!! , the program refuse to deal with arabic letters that i am using in most of my pictures as shown below, so i need to know if there is any way to solve this issue???

    Parsing code.                           0.04
    Compiling code.                         
    Compiling layouts code.                 
    Generating R 
    file.                      0.02
    Compiling generated Java code.          
    Convert byte code - optimized dex.      
    Packaging files.                        Error
    ..\Files\الشمس.jpg: error: Invalid filename.  Unable 
    to add.
  2. Peter Simpson

    Peter Simpson Expert Licensed User

    Can you rename the file to sun.jpg?
    AbbasMohammed likes this.
  3. AbbasMohammed

    AbbasMohammed Member Licensed User

    Yes i can,
    but the problem is that i get this name from a D.B with more than 3000 words !!! and i need to change all these words also, and for other tech. resons.
  4. Erel

    Erel Administrator Staff Member Licensed User

    The problem is that the packaging step is done by aapt which is part of Android SDK. So there is no way to change the way it works.
    AbbasMohammed likes this.
  5. AbbasMohammed

    AbbasMohammed Member Licensed User

    Thanks for answers
  1. This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
    By continuing to use this site, you are consenting to our use of cookies.
    Dismiss Notice