require' 17: from /data/data/com.termux/files/home/metasploit-framework/lib/msf/core/payload_generator.rb:2:in
<top (required)>'
16: from /data/data/com.termux/files/home/metasploit-framework/lib/msf/core/payload_generator.rb:2:in require' 15: from /data/data/com.termux/files/home/metasploit-framework/lib/msf/core/payload/apk.rb:3:in
<top (required)>'
14: from /data/data/com.termux/files/home/metasploit-framework/lib/msf/core/payload/apk.rb:3:in require' 13: from /data/data/com.termux/files/home/metasploit-framework/lib/msf/core.rb:46:in
<top (required)>'
12: from /data/data/com.termux/files/usr/lib/ruby/gems/2.6.0/gems/backports-3.12.0/lib/backports/std_lib.rb:9:in require_with_backports' 11: from /data/data/com.termux/files/usr/lib/ruby/gems/2.6.0/gems/backports-3.12.0/lib/backports/std_lib.rb:9:in
require'
10: from /data/data/com.termux/files/home/metasploit-framework/lib/msf/core/framework.rb:18:in <top (required)>' 9: from /data/data/com.termux/files/home/metasploit-framework/lib/msf/core/framework.rb:26:in
<class:Framework>' 7: from /data/data/com.termux/files/usr/lib/ruby/gems/2.6.0/gems/backports-3.12.0/lib/backports/std_lib.rb:9:in
require_with_backports'
6: from /data/data/com.termux/files/usr/lib/ruby/gems/2.6.0/gems/backports-3.12.0/lib/backports/std_lib.rb:9:in require' 5: from /data/data/com.termux/files/home/metasploit-framework/lib/msf/core/db_manager.rb:23:in
<top (required)>'
4: from /data/data/com.termux/files/home/metasploit-framework/lib/msf/core/db_manager.rb:61:in <class:DBManager>' 3: from /data/data/com.termux/files/home/metasploit-framework/lib/metasploit/framework/require.rb:115:in
optionally_include_metasploit_credential_creation'
2: from /data/data/com.termux/files/home/metasploit-framework/lib/metasploit/framework/require.rb:68:in optionally_include_metasploit_credential_creation' 1: from /data/data/com.termux/files/home/metasploit-framework/lib/metasploit/framework/require.rb:20:in
optionally'
/data/data/com.termux/files/home/metasploit-framework/lib/metasploit/framework/require.rb:25:in rescue in optionally': undefined method
without' for #
How to solve this