{ "id": "112077", "key": "TIMOB-13313", "fields": { "issuetype": { "id": "1", "description": "A problem which impairs or prevents the functions of the product.", "name": "Bug", "subtask": false }, "project": { "id": "10153", "key": "TIMOB", "name": "Titanium SDK/CLI", "projectCategory": { "id": "10100", "description": "Titanium and related SDKs used in application development", "name": "Client" } }, "fixVersions": [], "resolution": { "id": "7", "description": "", "name": "Invalid" }, "resolutiondate": "2016-08-29T19:54:25.000+0000", "created": "2013-04-02T11:58:46.000+0000", "priority": { "name": "Low", "id": "4" }, "labels": [ "Titanium", "android", "exalture", "module" ], "versions": [ { "id": "14164", "description": "Release 3.0.2", "name": "Release 3.0.2", "archived": true, "released": true, "releaseDate": "2013-02-19" }, { "id": "14162", "description": "Release 3.1.0", "name": "Release 3.1.0", "archived": true, "released": true, "releaseDate": "2013-04-16" } ], "issuelinks": [], "assignee": { "name": "msamah", "key": "msamah", "displayName": "Ashraf Abu", "active": false, "timeZone": "Asia/Singapore" }, "updated": "2017-03-20T21:38:09.000+0000", "status": { "description": "The issue is considered finished, the resolution is correct. Issues which are closed can be reopened.", "name": "Closed", "id": "6", "statusCategory": { "id": 3, "key": "done", "colorName": "green", "name": "Done" } }, "components": [ { "id": "10202", "name": "Android", "description": "Android Platform" } ], "description": "I tried using android-platform-11 Android JAR in module but it gives the following error message and does not run when try ant run or from eclipse.\r\n\r\nNote: Build Path is configured properly.\r\n\r\n**build.properties**\r\n{code}\r\ntitanium.sdk=/Users/ashish.nigam/Library/Application Support/Titanium\r\ntitanium.os=osx\r\ntitanium.version=3.0.2.GA\r\nandroid.sdk=/Applications/adt-bundle-mac/sdk\r\nandroid.ndk=/Applications/android-ndk\r\n\r\ntitanium.platform=${titanium.sdk}/mobilesdk/${titanium.os}/${titanium.version}/android\r\nandroid.platform=/Applications/adt-bundle-mac/sdk/platforms/android-11\r\ngoogle.apis=${android.sdk}/add-ons/addon-google_apis_google-11\r\n{code}\r\n\r\n**error message in console**\r\n{code}\r\n[exec] [TRACE] Writing out AndroidManifest.xml\r\n [exec] [DEBUG] /Applications/adt-bundle-mac/sdk/platform-tools/aapt package -m -J /var/folders/1y/_qvllvdj12bchp6yllkp5cp87s_zff/T/malL3fwti/nappmupdf/build/android/gen -M /var/folders/1y/_qvllvdj12bchp6yllkp5cp87s_zff/T/malL3fwti/nappmupdf/build/android/AndroidManifest.xml -S /var/folders/1y/_qvllvdj12bchp6yllkp5cp87s_zff/T/malL3fwti/nappmupdf/build/android/res -I /Applications/adt-bundle-mac/sdk/platforms/android-8/android.jar\r\n [exec] [ERROR] /var/folders/1y/_qvllvdj12bchp6yllkp5cp87s_zff/T/malL3fwti/nappmupdf/build/android/res/animator/info.xml:2: error: No resource identifier found for attribute 'ordering' in package 'android'\r\n [exec] [ERROR] /var/folders/1y/_qvllvdj12bchp6yllkp5cp87s_zff/T/malL3fwti/nappmupdf/build/android/res/animator/info.xml:5: error: No resource identifier found for attribute 'propertyName' in package 'android'\r\n [exec] [ERROR] /var/folders/1y/_qvllvdj12bchp6yllkp5cp87s_zff/T/malL3fwti/nappmupdf/build/android/res/animator/info.xml:5: error: No resource identifier found for attribute 'valueFrom' in package 'android'\r\n [exec] [ERROR] /var/folders/1y/_qvllvdj12bchp6yllkp5cp87s_zff/T/malL3fwti/nappmupdf/build/android/res/animator/info.xml:5: error: No resource identifier found for attribute 'valueTo' in package 'android'\r\n [exec] [ERROR] /var/folders/1y/_qvllvdj12bchp6yllkp5cp87s_zff/T/malL3fwti/nappmupdf/build/android/res/animator/info.xml:11: error: No resource identifier found for attribute 'propertyName' in package 'android'\r\n [exec] [ERROR] /var/folders/1y/_qvllvdj12bchp6yllkp5cp87s_zff/T/malL3fwti/nappmupdf/build/android/res/animator/info.xml:11: error: No resource identifier found for attribute 'valueTo' in package 'android'\r\n [exec] [ERROR] /var/folders/1y/_qvllvdj12bchp6yllkp5cp87s_zff/T/malL3fwti/nappmupdf/build/android/res/animator/info.xml:16: error: No resource identifier found for attribute 'propertyName' in package 'android'\r\n [exec] [ERROR] /var/folders/1y/_qvllvdj12bchp6yllkp5cp87s_zff/T/malL3fwti/nappmupdf/build/android/res/animator/info.xml:16: error: No resource identifier found for attribute 'valueTo' in package 'android'\r\n [exec] [ERROR] Error generating R.java from manifest\r\n [exec] [ERROR] Build Failed.\r\n{code}", "attachment": [], "flagged": false, "summary": "Android: Module does not pick android-platform-11 android JAR and thus android.animate method does not work", "creator": { "name": "anigam", "key": "anigam", "displayName": "Ashish Nigam", "active": true, "timeZone": "Asia/Kolkata" }, "subtasks": [], "reporter": { "name": "anigam", "key": "anigam", "displayName": "Ashish Nigam", "active": true, "timeZone": "Asia/Kolkata" }, "environment": "Titanium Mobile, Module, Android.", "comment": { "comments": [ { "id": "246474", "author": { "name": "viezel", "key": "viezel", "displayName": "Mads Moller", "active": true, "timeZone": "Europe/Berlin" }, "body": "any news here?\r\nI just need a hotfix for the build.xml script. ", "updateAuthor": { "name": "viezel", "key": "viezel", "displayName": "Mads Moller", "active": true, "timeZone": "Europe/Berlin" }, "created": "2013-04-08T19:49:11.000+0000", "updated": "2013-04-08T19:49:11.000+0000" }, { "id": "246564", "author": { "name": "ayeung", "key": "ayeung", "displayName": "Allen Yeung", "active": true, "timeZone": "America/Los_Angeles" }, "body": "Hi Mads/Ashish,\n\nCould you please provide a sample module and steps to reproduce this issue?\n\nI've tried creating a new module, and modifying the build.properties to API 11 and I don't run into this error. This seems to be related to the android manifest generation, so I tried inserting a node into the timodule.xml file with no luck reproducing this.\n\nThanks", "updateAuthor": { "name": "ayeung", "key": "ayeung", "displayName": "Allen Yeung", "active": true, "timeZone": "America/Los_Angeles" }, "created": "2013-04-09T01:05:25.000+0000", "updated": "2013-04-09T01:05:25.000+0000" }, { "id": "246595", "author": { "name": "viezel", "key": "viezel", "displayName": "Mads Moller", "active": true, "timeZone": "Europe/Berlin" }, "body": "Hi Allen,\r\n\r\nits this ticket: http://support.appcelerator.com/tickets/APP-737468/tickets \r\n\r\nand here is my module: https://dl.dropbox.com/u/2132088/NappMuPDF.zip \r\n", "updateAuthor": { "name": "viezel", "key": "viezel", "displayName": "Mads Moller", "active": true, "timeZone": "Europe/Berlin" }, "created": "2013-04-09T06:56:05.000+0000", "updated": "2013-04-09T06:56:05.000+0000" }, { "id": "246667", "author": { "name": "ayeung", "key": "ayeung", "displayName": "Allen Yeung", "active": true, "timeZone": "America/Los_Angeles" }, "body": "[~viezel] I tried that module that it built fine for me. Do you have reproduction steps on when it 'fails' for you? Was it during runtime or when you build the app or when you build the module?\n", "updateAuthor": { "name": "ayeung", "key": "ayeung", "displayName": "Allen Yeung", "active": true, "timeZone": "America/Los_Angeles" }, "created": "2013-04-09T17:57:06.000+0000", "updated": "2013-04-09T17:57:06.000+0000" }, { "id": "246817", "author": { "name": "viezel", "key": "viezel", "displayName": "Mads Moller", "active": true, "timeZone": "Europe/Berlin" }, "body": "Hi Allen,\r\n\r\nIt also builds fine, if I do \"ant dist\". But if I do \"ant run\" to get it to create an example project for the emulator. then the above console log happens. \r\nIt will complain that android-8 does not have the animator framework, and its properties. Which is correct.\r\nBut my build.properties, I use android-11. \r\n\r\nSo somewhere in the build process in create the example app for the emulator / or device - its uses the android-8 rather than what I specify in the projects build.properties. \r\n\r\nAre you following me? \r\n\r\nCheers, \r\nMads\r\n", "updateAuthor": { "name": "viezel", "key": "viezel", "displayName": "Mads Moller", "active": true, "timeZone": "Europe/Berlin" }, "created": "2013-04-10T06:09:28.000+0000", "updated": "2013-04-10T06:09:28.000+0000" }, { "id": "247047", "author": { "name": "viezel", "key": "viezel", "displayName": "Mads Moller", "active": true, "timeZone": "Europe/Berlin" }, "body": "Hi Allen, \r\n\r\nsorry for bugging you, but im going crazy with the workflow of copying the zip to a new project, clean the project, build to device. turnaround time is about 3-4 min. \r\n\r\nAny quick fix solution for this? ", "updateAuthor": { "name": "viezel", "key": "viezel", "displayName": "Mads Moller", "active": true, "timeZone": "Europe/Berlin" }, "created": "2013-04-11T11:34:22.000+0000", "updated": "2013-04-11T11:34:22.000+0000" }, { "id": "247101", "author": { "name": "ayeung", "key": "ayeung", "displayName": "Allen Yeung", "active": true, "timeZone": "America/Los_Angeles" }, "body": "This is a bug that we will properly fix in 3.2.0 during the rewrite of the android build command.\n\nFor now you can work around this issue by doing the following:\n\n1. Go to the sdk directory that your module is using. For me it was something like:\n/Library/Application Support/Titanium/mobilesdk/osx/3.2.0\n\n2. Open /Library/Application Support/Titanium/mobilesdk/osx/3.2.0/all/tiapp.xml (this is the template tiapp.xml that we use when a new project is generated)\n\n3. Change the android node to something like\n{code}\n\t\n\t\t11\n\t\n{code}\n\n4. Then go back to your project and do 'ant run'\n\nThe reason why this is happening is because the 'ant run' command actually creates a new project into a temp directory and then run that. The api level is read from the tiapp.xml and not your build.properties.\n", "updateAuthor": { "name": "ayeung", "key": "ayeung", "displayName": "Allen Yeung", "active": true, "timeZone": "America/Los_Angeles" }, "created": "2013-04-11T17:35:40.000+0000", "updated": "2013-04-11T17:35:40.000+0000" }, { "id": "247247", "author": { "name": "viezel", "key": "viezel", "displayName": "Mads Moller", "active": true, "timeZone": "Europe/Berlin" }, "body": "Hi Allen,\r\n\r\nThanks for the quick fix. It works!\r\nBut then a new issue arrises :) \r\nusing ant run or ant install will clear the libs folder. My module uses c libraries, which I place in the libs folder. \r\nWhere can I place them, so they are copied into the libs folder when compiled? \r\n\r\nCheers, Mads. ", "updateAuthor": { "name": "viezel", "key": "viezel", "displayName": "Mads Moller", "active": true, "timeZone": "Europe/Berlin" }, "created": "2013-04-12T06:52:05.000+0000", "updated": "2013-04-12T06:52:05.000+0000" }, { "id": "247564", "author": { "name": "ayeung", "key": "ayeung", "displayName": "Allen Yeung", "active": true, "timeZone": "America/Los_Angeles" }, "body": "'libs' is a folder where we place the generated libraries. I would try placing it in 'lib' instead and see if that works for you.", "updateAuthor": { "name": "ayeung", "key": "ayeung", "displayName": "Allen Yeung", "active": true, "timeZone": "America/Los_Angeles" }, "created": "2013-04-15T17:10:56.000+0000", "updated": "2013-04-15T17:10:56.000+0000" }, { "id": "394685", "author": { "name": "cbarber", "key": "cbarber", "displayName": "Chris Barber", "active": true, "timeZone": "America/Chicago" }, "body": "I have no idea exactly how to classify this. Allen states this was going to be fixed in the new Android build which shipped with Titanium SDK 3.2.0. On the other hand, the Ant build for Titanium modules was replaced in Titanium SDK 4.0.0.", "updateAuthor": { "name": "cbarber", "key": "cbarber", "displayName": "Chris Barber", "active": true, "timeZone": "America/Chicago" }, "created": "2016-08-29T19:54:25.000+0000", "updated": "2016-08-29T19:54:25.000+0000" }, { "id": "413999", "author": { "name": "lmorris", "key": "lmorris", "displayName": "Lee Morris", "active": false, "timeZone": "America/Los_Angeles" }, "body": "Closing ticket as invalid.", "updateAuthor": { "name": "lmorris", "key": "lmorris", "displayName": "Lee Morris", "active": false, "timeZone": "America/Los_Angeles" }, "created": "2017-03-20T21:38:09.000+0000", "updated": "2017-03-20T21:38:09.000+0000" } ], "maxResults": 14, "total": 14, "startAt": 0 } } }