While troubleshooting this SDK error, I replaced my sdk version string values with integer values in my tiapp.xml Went from
<uses-sdk android:minSdkVersion="25" android:targetSdkVersion="27"/> to
<uses-sdk android:minSdkVersion=25 android:targetSdkVersion=27/>
Atom: 1.31.1 x64
Electron: 2.0.7
OS: Mac OS X 10.13.6
Thrown From: appcelerator-titanium package 1.4.1
Stack Trace
Uncaught TypeError: Cannot read property 'name' of undefined
At /Users/mstelly/.atom/packages/appcelerator-titanium/lib/project.js:165
TypeError: Cannot read property 'name' of undefined
at Object.appName (/packages/appcelerator-titanium/lib/project.js:165:27)
at /packages/appcelerator-titanium/lib/index.js:201:19
at Function.module.exports.Emitter.simpleDispatch (/Applications/Atom.app/Contents/Resources/app/node_modules/event-kit/lib/emitter.js:27:20)
at Emitter.module.exports.Emitter.emit (/Applications/Atom.app/Contents/Resources/app/node_modules/event-kit/lib/emitter.js:156:34)
at /packages/appcelerator-titanium/lib/project.js:65:21
at Function.module.exports.Emitter.simpleDispatch (/Applications/Atom.app/Contents/Resources/app/node_modules/event-kit/lib/emitter.js:27:20)
at Emitter.module.exports.Emitter.emit (/Applications/Atom.app/Contents/Resources/app/node_modules/event-kit/lib/emitter.js:156:34)
at didChangeCallback (/Applications/Atom.app/Contents/Resources/app/src/project.js:413:28)
at PathWatcher.onNativeEvents (/Applications/Atom.app/Contents/Resources/app/src/path-watcher.js:533:13)
at sub.native.onDidChange.events (/Applications/Atom.app/Contents/Resources/app/src/path-watcher.js:436:64)
at Function.module.exports.Emitter.simpleDispatch (/Applications/Atom.app/Contents/Resources/app/node_modules/event-kit/lib/emitter.js:27:20)
at Emitter.module.exports.Emitter.emit (/Applications/Atom.app/Contents/Resources/app/node_modules/event-kit/lib/emitter.js:156:34)
at NSFWNativeWatcher.onEvents (/Applications/Atom.app/Contents/Resources/app/src/path-watcher.js:167:24)
at handler (/Applications/Atom.app/Contents/Resources/app/src/path-watcher.js:276:18)
While troubleshooting this SDK error, I replaced my sdk version string values with integer values in my
tiapp.xml
Went from<uses-sdk android:minSdkVersion="25" android:targetSdkVersion="27"/>
to<uses-sdk android:minSdkVersion=25 android:targetSdkVersion=27/>
Atom: 1.31.1 x64 Electron: 2.0.7 OS: Mac OS X 10.13.6 Thrown From: appcelerator-titanium package 1.4.1
Stack Trace
Uncaught TypeError: Cannot read property 'name' of undefined
Commands
Non-Core Packages