Problem:
When attempting to create a user account in a simple registration form, the following error is encountered:
09-14 09:30:39.864 2624-2638/com.example.appname.appname E/Surface﹕ getSlotFromBufferLocked: unknown buffer: 0xab7115e0
Additionally, the newly created account fails to be stored in the database.
Cause:
This error seems to be a Marshmallow-specific bug that occurs when switching between applications or exiting them, and when activities are destroyed. It has been observed on Nexus 5 devices running Marshmallow but not Lollipop.
Solution:
As a temporary solution, it is recommended to update Android to a later version of Marshmallow where this issue has been resolved.
The above is the detailed content of Why Does Android Studio Throw the 'getSlotFromBufferLocked: unknown buffer' Error During Registration on Marshmallow?. For more information, please follow other related articles on the PHP Chinese website!