Export to GitHub

android-lighthouse - issue #54

The application has stopped unexpectedly. Please try again.


Posted on Dec 3, 2010 by Happy Dog

What steps will reproduce the problem? 1. I compiled and installed android-lighthouse (ANDROID_PLATFORM = android-5 and androidconfig.sh "-static"), unpack qadk. 2. Created simple QtApplication. 3. Did this TEMPLATE = lib CONFIG += dll and built with qmake from android-lighthouse/bin 4. created project in native android sdk android-sdk-linux_x86/tools ./android create project --target 4 --name hello --path ./TestPro --activity helloActivity --package com.example.hello 5. created libs/armeabi folder in root of the project path and copied there my .so Copied to TestPro/src/com/example/hello Java function:

package com.example.hello;

import com.nokia.qt.QtActivity;

public class helloActivity extends QtActivity { /** Called when the activity is first created. */ /@Override/ public helloActivity() { setApplication("hello"); } }

Copied to TestPro/src/com/nokia/qt content of android-lighthouse/src/android/java/com/nokia/qt

  1. Created AVD, launched it. Made "ant install"

  2. Installation completed successfully but can't launch it. Have pop-up "The application helloActivity(process com.example.hello) has stopped unexpectedly. Please try again."

AVD version 2.2 or 2.1 the same result.

What version of the product are you using? On what operating system?

* download and untar QADK from Downloads menu

  wget http://android-lighthouse.googlecode.com/files/qadk-r4-1.tar.bz2
  tar xvfa qadk-r4-1.tar.bz2

* clone android-lighthouse repository

  git clone git://gitorious.org/~taipan/qt/android-lighthouse.git 

Please provide any additional information below.

The same result I've got with QmlViewer

Comment #1

Posted on Dec 3, 2010 by Happy Dog

Comment deleted

Comment #2

Posted on Dec 6, 2010 by Happy Hippo

Since this is not a bug in shared build, please close it.

Comment #3

Posted on Dec 11, 2010 by Swift Horse

(No comment was entered for this change.)

Status: Invalid

Labels:
Type-Defect Priority-Medium