Skip to content
  • Categories
  • Recent
  • Tags
  • Popular
  • Users
  • Groups
  • Search
  • Get Qt Extensions
  • Unsolved
Collapse
Brand Logo
  1. Home
  2. Qt Development
  3. Qt Creator and other tools
  4. Switching from Qt 5.1 to Qt 5.2 is causing app to crash
Forum Updated to NodeBB v4.3 + New Features

Switching from Qt 5.1 to Qt 5.2 is causing app to crash

Scheduled Pinned Locked Moved Qt Creator and other tools
2 Posts 2 Posters 920 Views 1 Watching
  • Oldest to Newest
  • Newest to Oldest
  • Most Votes
Reply
  • Reply as topic
Log in to reply
This topic has been deleted. Only users with topic management privileges can see it.
  • K Offline
    K Offline
    koolbi
    wrote on last edited by
    #1

    I recently downloaded Qt 5.2 and I loaded my working app from Qt 5.1 into it and it keeps crashing because it says that it is calling “startRecording()” on an uninitiated AudioRecord. Here is the error when the initialization fails
    @E/AudioRecord(14313): AudioFlinger could not create record track, status: -1
    E/AudioRecord-JNI(14313): Error creating AudioRecord instance: initialization check failed.
    E/AudioRecord-Java(14313): [ android.media.AudioRecord ] Error code -20 when initializing native AudioRecord object.@

    Here is the error where an exception is thrown causing the program to crash
    @E/AndroidRuntime(14313): FATAL EXCEPTION: Thread-855
    E/AndroidRuntime(14313): java.lang.IllegalStateException: startRecording() called on an uninitialized AudioRecord.
    E/AndroidRuntime(14313): at android.media.AudioRecord.startRecording(AudioRecord.java:515)
    E/AndroidRuntime(14313): at dalvik.system.NativeStart.run(Native Method)@

    Has anybody else had troubles with getting their code to run on Qt 5.2?
    Also, I don’t this it is a permissions error.

    1 Reply Last reply
    0
    • sierdzioS Offline
      sierdzioS Offline
      sierdzio
      Moderators
      wrote on last edited by
      #2

      Make sure you have updated your libraries and make a full rebuild of your project (clean, rebuild, run).

      (Z(:^

      1 Reply Last reply
      0

      • Login

      • Login or register to search.
      • First post
        Last post
      0
      • Categories
      • Recent
      • Tags
      • Popular
      • Users
      • Groups
      • Search
      • Get Qt Extensions
      • Unsolved