ERROR]: Failed to package the application? (Appcelerator Studio)

I just installed Appcelerator Studio and did all the settings.

Now I have created my first application and am running on Android.

Then we get below error message.

Please help me how can I solve this problem.

{
ERROR] :  Failed to package application:
[ERROR] :  
[ERROR] :  invalid resource directory name: /var/folders/6w/68fb7_vd6yjd2bgxd0lfd0sw0000gn/T/11553-1191-1tyydgj/res/drawable-ldrtl-hdpi
[ERROR] :  invalid resource directory name: /var/folders/6w/68fb7_vd6yjd2bgxd0lfd0sw0000gn/T/11553-1191-1tyydgj/res/drawable-ldrtl-mdpi
[ERROR] :  invalid resource directory name: /var/folders/6w/68fb7_vd6yjd2bgxd0lfd0sw0000gn/T/11553-1191-1tyydgj/res/drawable-ldrtl-xhdpi
[ERROR] :  invalid resource directory name: /var/folders/6w/68fb7_vd6yjd2bgxd0lfd0sw0000gn/T/11553-1191-1tyydgj/res/drawable-ldrtl-xxhdpi
[ERROR] :  invalid resource directory name: /var/folders/6w/68fb7_vd6yjd2bgxd0lfd0sw0000gn/T/11553-1191-1tyydgj/res/drawable-ldrtl-xxxhdpi
[ERROR] :  invalid resource directory name: /var/folders/6w/68fb7_vd6yjd2bgxd0lfd0sw0000gn/T/11553-1191-1tyydgj/res/drawable-xxhdpi
[ERROR] :  invalid resource directory name: /var/folders/6w/68fb7_vd6yjd2bgxd0lfd0sw0000gn/T/11553-1191-1tyydgj/res/drawable-xxxhdpi
TRACE  | titanium exited with exit code 1
ERROR  | Error: ti run exited with error code 1
    at ChildProcess.<anonymous> (/Users/mritunjaysingh/.appcelerator/install/4.0.1/package/node_modules/appc-cli-titanium/plugins/run.js:84:66)
    at ChildProcess.emit (events.js:98:17)
    at Process.ChildProcess._handle.onexit (child_process.js:810:12)
[ERROR] Application Installer abnormal process termination. Process exit value was 1

}

      

Thanks in Advance.

+3


source to share


1 answer


I had the same problem too. My problem was sdk address version. It used to be 19. When I changed to 21 which was the latest build tool in my android sdk folders. This issue has been resolved. Also found another article related to the build tool version.



0


source







All Articles