Success! Looks like we've fixed this one. According to our records the fix was applied for TOUCH-2537 in a recent build.
  1. #1
    Sencha - Sencha Touch Dev Team
    Join Date
    Oct 2010
    Posts
    90
    Vote Rating
    21
    RossGerbasi will become famous soon enough RossGerbasi will become famous soon enough

      0  

    Question Native Android Build Launching Issue

    Native Android Build Launching Issue


    Can't seem to figure out a small annoying bug. when i run "sencha app build native" everything seems to run perfectly. I get an apk file generated in my build folder, the application is also installed on my attached android device but it is not started automatically. I am getting this error in the command prompt

    'Error: Bad component name: com.mycompany.myAppID.STActivity'
    followed by a '""C:\Developer\SDKs\Android\tools\android" create project --target android-15.....' command

    then i see this '[ERROR] 4969 KB/s (840559 bytes in 0.165s)'

    Any help? thanks

  2. #2
    Sencha User Jamie Avins's Avatar
    Join Date
    Mar 2007
    Location
    Redwood City, California
    Posts
    3,661
    Vote Rating
    19
    Jamie Avins is a jewel in the rough Jamie Avins is a jewel in the rough Jamie Avins is a jewel in the rough

      0  

    Default


    Thank you for the report, can you also post the details of your operating system and app.json file?

    Sencha Inc

    Jamie Avins

    @jamieavins

  3. #3
    Sencha - Sencha Touch Dev Team
    Join Date
    Oct 2010
    Posts
    90
    Vote Rating
    21
    RossGerbasi will become famous soon enough RossGerbasi will become famous soon enough

      0  

    Default


    I am on Windows 7 64bit
    Sencha SDK located at: C:\SenchaSDKTools-2.0.0-Beta
    Project located at C:\Users\{username}\Desktop\TestSencha

    I never edited the app.json so it looks like this
    Code:
    {
        /**
         * The application's namespace, used by Sencha Command to generate classes
         */
        "name": "MyApp",
    
    
        /**
         * List of all JavaScript assets in the right execution order.
         * Each item is an object with the following format:
         *      {
         *          "path": "path/to/script.js" // Relative path to this app.json file
         *          "update": "delta"           // (Optional)
         *                                      //  - If not specified, this file will only be loaded once, and
         *                                      //    cached inside localStorage until this value is changed.
         *                                      //  - "delta" to enable over-the-air delta update for this file
         *                                      //  - "full" means full update will be made when this file changes
         *
         *      }
         */
        "js": [
            {
                "path": "sdk/sencha-touch.js"
            },
            {
                "path": "app.js",
                "update": "delta"
            }
        ],
    
    
        /**
         * List of all CSS assets in the right inclusion order.
         * Each item is an object with the following format:
         *      {
         *          "path": "path/to/item.css" // Relative path to this app.json file
         *          "update": "delta"          // (Optional)
         *                                     //  - If not specified, this file will only be loaded once, and
         *                                     //    cached inside localStorage until this value is changed to either one below
         *                                     //  - "delta" to enable over-the-air delta update for this file
         *                                     //  - "full" means full update will be made when this file changes
         *
         *      }
         */
        "css": [
            {
                "path": "resources/css/app.css",
                "update": "delta"
            }
        ],
    
    
        /**
         * Used to automatically generate cache.manifest (HTML 5 application cache manifest) file when you build
         */
        "appCache": {
            /**
             * List of items in the CACHE MANIFEST section
             */
            "cache": [
                "index.html"
            ],
            /**
             * List of items in the NETWORK section
             */
            "network": [
                "*"
            ],
            /**
             * List of items in the FALLBACK section
             */
            "fallback": []
        },
    
    
        /**
         * Extra resources to be copied along when build
         */
        "extras": [
            "resources/images",
            "resources/icons",
            "resources/loading"
        ],
    
    
        /**
         * Directory path to store all previous production builds. Note that the content generated inside this directory
         * must be kept intact for proper generation of delta between updates
         */
        "archivePath": "archive",
    
    
        /**
         * Default paths to build this application to for each environment
         */
        "buildPaths": {
            "testing": "build/testing",
            "production": "build/production",
            "package": "build/package",
            "native": "build/native"
        },
    
    
        /**
         * Build options
         */
        "buildOptions": {
            "product": "touch",
            "minVersion": 3,
            "debug": false,
            "logger": "no"
        },
    
    
        /**
         * Uniquely generated id for this application, used as prefix for localStorage keys.
         * Normally you should never change this value.
         */
        "id": "4614dfa0-72ac-11e1-b039-c92a30fc5d33"
    }

  4. #4
    Sencha User
    Join Date
    Mar 2012
    Location
    Porto, Portugal
    Posts
    31
    Vote Rating
    0
    Nunoestrada is on a distinguished road

      0  

    Default


    I have the exact same problem, any clue on the solution?

  5. #5
    Sencha User Jamie Avins's Avatar
    Join Date
    Mar 2007
    Location
    Redwood City, California
    Posts
    3,661
    Vote Rating
    19
    Jamie Avins is a jewel in the rough Jamie Avins is a jewel in the rough Jamie Avins is a jewel in the rough

      0  

    Default


    We are working on some major rewrite of the builder tool due to some issues with JSDB on the Windows platform. We will have a new update on it as soon as it's ready.

    Sencha Inc

    Jamie Avins

    @jamieavins

  6. #6
    Sencha - Sencha Touch Dev Team
    Join Date
    Oct 2010
    Posts
    90
    Vote Rating
    21
    RossGerbasi will become famous soon enough RossGerbasi will become famous soon enough

      0  

    Default


    That sounds great, currently it's not horrible i just have to go launch the application myself, but also the problems with spaces int he folder structure and such sucked up some of my time. Anyways excited to see the update. Thanks for letting us know the status!

Thread Participants: 2

Tags for this Thread